Skip to content

Commit 9de5ef9

Browse files
committed
Merge branch '4.15' into main
2 parents c3a1c78 + 6aa75cf commit 9de5ef9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/integration/smoke/test_vpc_redundant.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -604,13 +604,13 @@ def test_04_rvpc_network_garbage_collector_nics(self):
604604
self.logger.debug("network.gc.wait is ==> %s" % gc_wait)
605605
self.logger.debug("network.gc.interval is ==> %s" % gc_interval)
606606

607-
total_sleep = 120
607+
total_sleep = 360
608608
if gc_wait and gc_interval:
609-
total_sleep = int(gc_wait[0].value) + int(gc_interval[0].value)
609+
total_sleep = max(int(gc_wait[0].value), int(gc_interval[0].value)) * 2 + 60
610610
else:
611-
self.logger.debug("Could not retrieve the keys 'network.gc.interval' and 'network.gc.wait'. Sleeping for 2 minutes.")
611+
self.logger.debug("Could not retrieve the keys 'network.gc.interval' and 'network.gc.wait'. Sleeping for 6 minutes.")
612612

613-
time.sleep(total_sleep * 3)
613+
time.sleep(total_sleep)
614614

615615
# Router will be in FAULT state, i.e. keepalived is stopped
616616
self.check_routers_state(status_to_check="FAULT", expected_count=2)

0 commit comments

Comments
 (0)