Create default network for more compute tests
Chipping away at the referenced bug, this commit uses the create_default_network class-level variable introduced via [1] to trigger setup_credentials to create a default network for a handful more test cases in which the problem was observed. [1] Ia34fe3b41261de02918713c2a948e6c56554bf6f Partial-Bug: #1844568 Change-Id: Ic38c74c245fddf29826e6ca0cc469f919076355e
This commit is contained in:
parent
bfaa50f18b
commit
1f546532c3
|
@ -55,6 +55,7 @@ class InstanceActionsTestJSON(base.BaseV2ComputeTest):
|
|||
|
||||
|
||||
class InstanceActionsV221TestJSON(base.BaseV2ComputeTest):
|
||||
create_default_network = True
|
||||
|
||||
min_microversion = '2.21'
|
||||
max_microversion = 'latest'
|
||||
|
|
|
@ -19,6 +19,7 @@ from tempest.lib import decorators
|
|||
|
||||
|
||||
class ServerPasswordTestJSON(base.BaseV2ComputeTest):
|
||||
create_default_network = True
|
||||
|
||||
@classmethod
|
||||
def resource_setup(cls):
|
||||
|
|
|
@ -28,6 +28,7 @@ CONF = config.CONF
|
|||
|
||||
class BaseAttachVolumeTest(base.BaseV2ComputeTest):
|
||||
"""Base class for the attach volume tests in this module."""
|
||||
create_default_network = True
|
||||
|
||||
@classmethod
|
||||
def skip_checks(cls):
|
||||
|
|
|
@ -21,6 +21,7 @@ CONF = config.CONF
|
|||
|
||||
|
||||
class AttachVolumeNegativeTest(base.BaseV2ComputeTest):
|
||||
create_default_network = True
|
||||
|
||||
@classmethod
|
||||
def skip_checks(cls):
|
||||
|
|
Loading…
Reference in New Issue