]> git.proxmox.com Git - mirror_frr.git/commit - tests/topotests/multicast_pim_sm_topo3/test_multicast_pim_sm_topo4.py
tests: Ensure packets have a chance to arrive in test_multicast_pim_sm_topo4.py
authorDonald Sharp <sharpd@nvidia.com>
Fri, 7 Jan 2022 14:15:19 +0000 (09:15 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 7 Jan 2022 16:03:15 +0000 (11:03 -0500)
commit758999b3e0109d385be0c1dd76c237fd7ac3d872
tree4a2338b87d7973af62540bd49c80c074250d57b5
parent715d3774aa4a94a3ef34bba785d241343f22b2bc
tests: Ensure packets have a chance to arrive in test_multicast_pim_sm_topo4.py

The test is doing this:

a) gather interface data about packets sent
b) shut interface
c) no shut interface
d) gather interface data about packets sent
e) compare a to d and fail if packets sent/received has not incremented

The problem is, of course, that under heavy system load insufficient time
might not have passed for packets to be sent between c and d.  Add up to
35 seconds of looking for packet data being incremented else heavily
loaded systems may never show that data is being sent.

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