From 48648d4c45bf83baa5133e56edebeece1ee5bf93 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Tue, 2 Sep 2025 08:08:10 +0200 Subject: [PATCH] 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 --- test/integration/smoke/test_vpc_redundant.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/integration/smoke/test_vpc_redundant.py b/test/integration/smoke/test_vpc_redundant.py index 37dd87a499c..722b7127244 100644 --- a/test/integration/smoke/test_vpc_redundant.py +++ b/test/integration/smoke/test_vpc_redundant.py @@ -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):