Set missing attribute self.server in _create_and_attach utility
Modifies _create_and_attach utility method so that it sets self.server attribute. The test, test_attach_detach_volume was failing because it expected the attribute to be set but it was not. Fixes: bug #1214219 Change-Id: I88222cdf264e938f492058ab2d476406074aea40
This commit is contained in:
parent
5f4fa8b5bc
commit
6a7a2d534a
|
@ -55,6 +55,7 @@ class AttachVolumeTestJSON(base.BaseComputeTest):
|
|||
# Start a server and wait for it to become ready
|
||||
resp, server = self.create_server(wait_until='ACTIVE',
|
||||
adminPass='password')
|
||||
self.server = server
|
||||
|
||||
# Record addresses so that we can ssh later
|
||||
resp, server['addresses'] = \
|
||||
|
|
Loading…
Reference in New Issue