This is an automated email from the ASF dual-hosted git repository.

weizhou pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.19 by this push:
     new 48648d4c45b test: fix test_04_rvpc_network_garbage_collector_nics 
failure (#11542)
48648d4c45b is described below

commit 48648d4c45bf83baa5133e56edebeece1ee5bf93
Author: Wei Zhou <weiz...@apache.org>
AuthorDate: Tue Sep 2 08:08:10 2025 +0200

    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):

Reply via email to