This is an automated email from the ASF dual-hosted git repository.
weizhou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 7042ce4ad05 Run startServer in tearDown for test_safe_shutdown to
ensure management server is up even if the tests fail (#7767)
7042ce4ad05 is described below
commit 7042ce4ad0578057ac9fc4b2675687dff86b9d70
Author: Vishesh <[email protected]>
AuthorDate: Tue Jul 25 07:11:31 2023 +0530
Run startServer in tearDown for test_safe_shutdown to ensure management
server is up even if the tests fail (#7767)
---
test/integration/smoke/test_safe_shutdown.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/test/integration/smoke/test_safe_shutdown.py
b/test/integration/smoke/test_safe_shutdown.py
index 8277ae923f9..d757bb6d068 100644
--- a/test/integration/smoke/test_safe_shutdown.py
+++ b/test/integration/smoke/test_safe_shutdown.py
@@ -33,6 +33,7 @@ class TestSafeShutdown(cloudstackTestCase):
self.cleanup = []
def tearDown(self):
+ self.startServer()
super(TestSafeShutdown, self).tearDown()
def isServerShutdown(self):