mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
better logging on instance create failure
This commit is contained in:
parent
1f7dd5275d
commit
51fbc2af44
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class CloudTest(ShellCase):
|
|||
instance_name = self.instance_name
|
||||
if creation_ret:
|
||||
self.assertIn(instance_name, [i.strip(': ') for i in creation_ret])
|
||||
self.assertTrue(self._instance_exists(instance_name), 'Instance "{}" was not created successfully'
|
||||
.format(instance_name))
|
||||
self.assertTrue(self._instance_exists(instance_name), 'Instance "{}" was not created successfully: `{}`'
|
||||
.format(instance_name, creation_ret))
|
||||
|
||||
def _destroy_instance(self):
|
||||
log.debug('Deleting instance "{}"'.format(self.instance_name))
|
||||
|
|
Loading…
Add table
Reference in a new issue