]> git.proxmox.com Git - mirror_frr.git/commit
tests: Fix isis_topo1_vrf to wait a tiny bit for zebra route install
authorDonald Sharp <sharpd@nvidia.com>
Sat, 27 Nov 2021 18:12:50 +0000 (13:12 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Sat, 27 Nov 2021 18:12:50 +0000 (13:12 -0500)
commit2451958e54a755ea5cbbd7a0e383d176f0cd0783
tree9ae96d50dca70552fd0d2d200dd816e296b8097b
parentd41e9fe0cb43003fe0a027fe2357e9ebd0ebbb78
tests: Fix isis_topo1_vrf to wait a tiny bit for zebra route install

During repeated runs I am seeing this test fail to run successfully.
Upon inspecting the output:
            {
              "prefix":"10.0.10.0/24",
              "prefixLen":24,
              "protocol":"isis",
              "vrfId":6,
              "vrfName":"r1-cust1",
              "selected":true,
              "destSelected":true,
              "distance":115,
              "metric":10,
              "queued":true,

We can see that the route is still queued.  Under heavy system
load and not ensuring that isis has time to send the route to
zebra and for zebra to install the route, this test can fail.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/isis_topo1_vrf/test_isis_topo1_vrf.py