]> git.puffer.fish Git - matthieu/frr.git/commitdiff
tests: Make verify_rib wait up to 40 seconds.
authorDonald Sharp <sharpd@nvidia.com>
Thu, 19 May 2022 23:08:39 +0000 (19:08 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 20 May 2022 14:31:48 +0000 (10:31 -0400)
Under heavy load I am seeing verify_rib failing after 12 seconds
but succeeding after 17:

2022-05-19 18:52:54,374 DEBUG: topolog: Exiting lib API: verify_rib
2022-05-19 18:52:54,374 DEBUG: topolog: Function returned True
2022-05-19 18:52:54,374 WARNING: topolog: RETRY DIAGNOSTIC: SUCCEED after FAILED with requested timeout of 12.0s; however, succeeded in 14.7s, investigate timeout timing

There is no reason to not have the test wait a bit longer for very very
heavily loaded systems.  Change the time to 40 seconds.

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

index 5c8b7605444b2504a17974340deb502117385d41..3f70dbddf7883f74597f60684ff90ebac5245d12 100644 (file)
@@ -3245,7 +3245,7 @@ def configure_interface_mac(tgen, input_dict):
 #############################################
 # Verification APIs
 #############################################
-@retry(retry_timeout=12)
+@retry(retry_timeout=40)
 def verify_rib(
     tgen,
     addr_type,