mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
tests: Ensure that the scale_up.py script tests for actual sharp installed routes first
The scale_up.py script used by several tests installs 50k routes into the rib from sharpd. It is first looking for the results in the bgp database. Let's ensure that the routes are actually installed into the rib first before looking in the bgp tables. This should help situations where the system is under extreme load. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
59cb833f6a
commit
66d0d2184e
@ -62,6 +62,25 @@ else:
|
||||
"pass",
|
||||
"Adding {} routes".format(num),
|
||||
)
|
||||
luCommand(
|
||||
"ce1",
|
||||
'vtysh -c "show ip route summ" | grep "sharp" | cut -d " " -f 33',
|
||||
str(num),
|
||||
"wait",
|
||||
"See all sharp routes in rib on ce1",
|
||||
wait,
|
||||
wait_time=10,
|
||||
)
|
||||
luCommand(
|
||||
"ce2",
|
||||
'vtysh -c "show ip route summ" | grep "sharp" | cut -d " " -f 33',
|
||||
str(num),
|
||||
"wait",
|
||||
"See all sharp routes in rib on ce2",
|
||||
wait,
|
||||
wait_time=10,
|
||||
)
|
||||
|
||||
rtrs = ["ce1", "ce2", "ce3"]
|
||||
for rtr in rtrs:
|
||||
luCommand(
|
||||
|
Loading…
Reference in New Issue
Block a user