Skip to content

Commit 89bc4b5

Browse files
Update CPVM reboot tests - wait for the agent to Disconnect and back Up
1 parent a7ae25f commit 89bc4b5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: test/integration/smoke/test_ssvm.py

+6
Original file line numberDiff line numberDiff line change
@@ -988,6 +988,9 @@ def test_08_reboot_cpvm(self):
988988

989989
# Private IP Address of System VMs are allowed to change after reboot - CLOUDSTACK-7745
990990

991+
# Agent in Up state for a while after reboot, wait for the agent to Disconnect and back Up.
992+
time.sleep(60)
993+
991994
# Wait for the agent to be up
992995
self.waitForSystemVMAgent(cpvm_response.name)
993996

@@ -1103,6 +1106,9 @@ def test_10_reboot_cpvm_forced(self):
11031106
"Check whether CPVM is running or not"
11041107
)
11051108

1109+
# Agent in Up state for a while after reboot, wait for the agent to Disconnect and back Up.
1110+
time.sleep(60)
1111+
11061112
# Wait for the agent to be up
11071113
self.waitForSystemVMAgent(cpvm_response.name)
11081114

0 commit comments

Comments
 (0)