summaryrefslogtreecommitdiff
path: root/tempest/api/compute/servers/test_instance_actions.py
diff options
context:
space:
mode:
authorEric Fried <openstack@fried.cc>2020-01-09 12:04:54 -0600
committerEric Fried <openstack@fried.cc>2020-01-10 16:41:41 -0600
commitbfaa50f18bfdc02470a44d5e209e66085f0dcb05 (patch)
treea0cad2cc2e0fe50091607ab530b21819093384a5 /tempest/api/compute/servers/test_instance_actions.py
parent97052fae121174b9d6daa51684c03f730dc74683 (diff)
downloadtempest-bfaa50f18bfdc02470a44d5e209e66085f0dcb05.tar.gz
Create default network for several compute tests
Chipping away at the referenced bug, this commit introduces a class-level variable on BaseV2ComputeTest that triggers setup_credentials to create a default network, and sets it for several classes where the problem has been observed. The class variable is so we can whack-a-mole with one line instead of four whenever this problem pops up. Change-Id: Ia34fe3b41261de02918713c2a948e6c56554bf6f Partial-Bug: #1844568
Diffstat (limited to 'tempest/api/compute/servers/test_instance_actions.py')
-rw-r--r--tempest/api/compute/servers/test_instance_actions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tempest/api/compute/servers/test_instance_actions.py b/tempest/api/compute/servers/test_instance_actions.py
index b916a42d6..9f7e2d1b7 100644
--- a/tempest/api/compute/servers/test_instance_actions.py
+++ b/tempest/api/compute/servers/test_instance_actions.py
@@ -19,6 +19,7 @@ from tempest.lib import decorators
class InstanceActionsTestJSON(base.BaseV2ComputeTest):
+ create_default_network = True
@classmethod
def setup_clients(cls):