mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Revert "Don't fail if cleanup happens in the teardown"
This reverts commit b77a99bd3c
.
This commit is contained in:
parent
0f4cce0ae6
commit
1340126b9e
1 changed files with 4 additions and 8 deletions
|
@ -316,14 +316,10 @@ class CloudTest(ShellCase):
|
|||
instance, alt_destroy_message
|
||||
)
|
||||
)
|
||||
if not success:
|
||||
log.error("\n".join(fail_messages))
|
||||
# self.assertTrue(success, "\n".join(fail_messages))
|
||||
if alt_names:
|
||||
log.error("Cleanup should happen in the test, not the TearDown")
|
||||
#self.assertFalse(
|
||||
# alt_names, "Cleanup should happen in the test, not the TearDown"
|
||||
#)
|
||||
self.assertTrue(success, "\n".join(fail_messages))
|
||||
self.assertFalse(
|
||||
alt_names, "Cleanup should happen in the test, not the TearDown"
|
||||
)
|
||||
|
||||
@classmethod
|
||||
def tearDownClass(cls):
|
||||
|
|
Loading…
Add table
Reference in a new issue