Create default network for compute rescue tests

server rescue tests also create server without passing
the network to nova which further fail if more than one test network exists.

https://03399ed3bb928f8e37fb-954a4196d912d707c769d8596124df5e
.ssl.cf1.rackcdn.com/720042/1/check/nova-next/ba84dfc/testr_results.html

Change-Id: Ic9930172a1b6937cd038707afd4d0f6e3730efa1
Partial-Bug: #1844568
This commit is contained in:
Ghanshyam Mann 2020-04-21 21:37:54 -05:00
parent c042c88aeb
commit 2c22e28331
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ CONF = config.CONF
class ServerRescueTestBase(base.BaseV2ComputeTest):
create_default_network = True
@classmethod
def skip_checks(cls):
@ -106,6 +107,7 @@ class ServerRescueTestJSONUnderV235(ServerRescueTestBase):
class ServerStableDeviceRescueTest(base.BaseV2ComputeTest):
create_default_network = True
@classmethod
def skip_checks(self):