Merge "Fix the bug of deleting security group after testing changing password."

This commit is contained in:
Zuul 2019-04-30 00:58:48 +00:00 committed by Gerrit Code Review
commit 661a52ed45
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ class ServerActionsTestJSON(base.BaseV2ComputeTest):
validatable=True,
validation_resources=validation_resources,
wait_until='ACTIVE')
self.addCleanup(self.delete_server, newserver['id'])
# The server's password should be set to the provided password
new_password = 'Newpass1234'
self.client.change_password(newserver['id'], adminPass=new_password)