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
This commit is contained in:
Wei Zhou 2025-09-02 08:08:10 +02:00 committed by GitHub
parent d161dc7669
commit 48648d4c45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -612,10 +612,13 @@ class TestVPCRedundancy(cloudstackTestCase):
time.sleep(total_sleep)
# Router will be in FAULT state, i.e. keepalived is stopped
self.check_routers_state(status_to_check="FAULT", expected_count=2)
# Router will be in UNKNOWN state, i.e. keepalived is stopped
self.check_routers_state(status_to_check="UNKNOWN", expected_count=2)
self.start_vm()
# Routers will be in PRIMARY/BACKUP state
self.check_routers_state(status_to_check="PRIMARY")
self.check_routers_state(status_to_check="BACKUP")
@attr(tags=["advanced", "intervlan"], required_hardware="true")
def test_05_rvpc_multi_tiers(self):