Skip to content

Commit 48648d4

Browse files
test: fix test_04_rvpc_network_garbage_collector_nics failure (#11542)
* test: fix test_04_rvpc_network_garbage_collector_nics failure * test: check backup VR as well
1 parent d161dc7 commit 48648d4

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

test/integration/smoke/test_vpc_redundant.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,10 +612,13 @@ def test_04_rvpc_network_garbage_collector_nics(self):
612612

613613
time.sleep(total_sleep)
614614

615-
# Router will be in FAULT state, i.e. keepalived is stopped
616-
self.check_routers_state(status_to_check="FAULT", expected_count=2)
615+
# Router will be in UNKNOWN state, i.e. keepalived is stopped
616+
self.check_routers_state(status_to_check="UNKNOWN", expected_count=2)
617+
617618
self.start_vm()
619+
# Routers will be in PRIMARY/BACKUP state
618620
self.check_routers_state(status_to_check="PRIMARY")
621+
self.check_routers_state(status_to_check="BACKUP")
619622

620623
@attr(tags=["advanced", "intervlan"], required_hardware="true")
621624
def test_05_rvpc_multi_tiers(self):

0 commit comments

Comments
 (0)