Skip to content

Commit

Permalink
tests: zebra_netlink only gives 10 seconds to install all routes
Browse files Browse the repository at this point in the history
Under really heavily loaded systems this is insufficient.  Looking
at the run output we have this:

	  "2.1.3.22\/32":[
	    {
	      "installed":true,
	    }
	  ],
	  "2.1.3.23\/32":[
	    {
	      "queued":true,
            }
           ],

So after 10 seconds on the micronet system only 30 of the 100 routes are installed.
Give it more time.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
  • Loading branch information
donaldsharp committed Jan 18, 2023
1 parent 6483e73 commit a6782fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/topotests/zebra_netlink/test_zebra_netlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def test_zebra_netlink_batching(tgen):
pfx = str(ipaddress.ip_network((i, 32)))
match[pfx] = [dict(entry, prefix=pfx)]

ok = topotest.router_json_cmp_retry(r1, "show ip route json", match)
ok = topotest.router_json_cmp_retry(r1, "show ip route json", match, False, 30)
assert ok, '"r1" JSON output mismatches'

r1.vtysh_cmd("sharp remove routes 2.1.3.7 " + str(count))
Expand Down

0 comments on commit a6782fb

Please sign in to comment.