From 28e5672a2dcf2a690f903a724e971c6caac32e02 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Mon, 1 Sep 2025 08:14:05 +0200 Subject: [PATCH 1/2] test: fix test_04_rvpc_network_garbage_collector_nics failure --- test/integration/smoke/test_vpc_redundant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/smoke/test_vpc_redundant.py b/test/integration/smoke/test_vpc_redundant.py index 37dd87a499cb..fd449d192358 100644 --- a/test/integration/smoke/test_vpc_redundant.py +++ b/test/integration/smoke/test_vpc_redundant.py @@ -613,7 +613,7 @@ def test_04_rvpc_network_garbage_collector_nics(self): 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) + self.check_routers_state(status_to_check="UNKNOWN", expected_count=2) self.start_vm() self.check_routers_state(status_to_check="PRIMARY") From 9a63b500997ac16f85caabbb9ec960762984a155 Mon Sep 17 00:00:00 2001 From: Wei Zhou Date: Mon, 1 Sep 2025 14:51:11 +0200 Subject: [PATCH 2/2] test: check backup VR as well --- test/integration/smoke/test_vpc_redundant.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/integration/smoke/test_vpc_redundant.py b/test/integration/smoke/test_vpc_redundant.py index fd449d192358..722b71272448 100644 --- a/test/integration/smoke/test_vpc_redundant.py +++ b/test/integration/smoke/test_vpc_redundant.py @@ -612,10 +612,13 @@ def test_04_rvpc_network_garbage_collector_nics(self): time.sleep(total_sleep) - # Router will be in FAULT state, i.e. keepalived is stopped + # 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):