]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: More cbit extensions
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 31 Mar 2020 22:38:01 +0000 (18:38 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 31 Mar 2020 22:38:01 +0000 (18:38 -0400)
We are still seeing cbit test failures in the ci system.  I am
gonna try extending the timeout a bit more as that 8 seconds
doesn't seem to be long enough.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
tests/topotests/bfd-bgp-cbit-topo3/test_bfd_bgp_cbit_topo3.py

index e2bd80daa89babba42c61423422d6f0e780e1550..22a4547a30c40f620ca95f961418bfe3126f12dc 100755 (executable)
@@ -142,7 +142,7 @@ def test_bfd_connection():
 
         test_func = partial(topotest.router_json_cmp,
                             router, 'show bfd peers json', expected)
-        _, result = topotest.run_and_expect(test_func, None, count=16, wait=0.5)
+        _, result = topotest.run_and_expect(test_func, None, count=32, wait=0.5)
         assertmsg = '"{}" JSON output mismatches'.format(router.name)
         assert result is None, assertmsg
 
@@ -173,7 +173,7 @@ def test_bfd_loss_intermediate():
 
         test_func = partial(topotest.router_json_cmp,
                             router, 'show bfd peers json', expected)
-        _, result = topotest.run_and_expect(test_func, None, count=16, wait=0.5)
+        _, result = topotest.run_and_expect(test_func, None, count=32, wait=0.5)
         assertmsg = '"{}" JSON output mismatches'.format(router.name)
         assert result is None, assertmsg