]> git.puffer.fish Git - mirror/frr.git/commit
tests: ospf_suppress_fa sleeps, convert to run_and_expect 15015/head
authorDonald Sharp <sharpd@nvidia.com>
Wed, 13 Dec 2023 17:05:25 +0000 (12:05 -0500)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 14 Dec 2023 15:42:45 +0000 (10:42 -0500)
commit48df84a044a9071775ddbc39994f1a84116b4b52
tree12e4194f831eaded55c9499b45e95e474459c050
parent0d57a9a9546c26021e70ba5986823f8520e581ea
tests: ospf_suppress_fa sleeps, convert to run_and_expect

The test_ospf_suppres_fa.py script is using straight
up sleeps before testing that the next step worked properly.
On a unloaded test system this will work 100% of the time
on a loaded test system this will have random failures.
Convert the test to use run_and_expect and give each
section of the test 30 seconds to get to the next state
appropriately instead of 10.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
tests/topotests/ospf_suppress_fa/r1/initial.json [new file with mode: 0644]
tests/topotests/ospf_suppress_fa/r1/neighbor.json [new file with mode: 0644]
tests/topotests/ospf_suppress_fa/r1/post.json [new file with mode: 0644]
tests/topotests/ospf_suppress_fa/test_ospf_suppress_fa.py