commit | 1f546532c32a1cade765685eaac180c57258f352 | [log] [tgz] |
---|---|---|
author | Eric Fried <openstack@fried.cc> | Tue Jan 14 17:11:58 2020 -0600 |
committer | Eric Fried <openstack@fried.cc> | Thu Jan 16 14:10:43 2020 +0000 |
tree | 657f7f47046c61a22ab3ed0ae4969223c3306b50 | |
parent | bfaa50f18bfdc02470a44d5e209e66085f0dcb05 [diff] |
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
diff --git a/tempest/api/compute/servers/test_instance_actions.py b/tempest/api/compute/servers/test_instance_actions.py index 9f7e2d1..00837eb 100644 --- a/tempest/api/compute/servers/test_instance_actions.py +++ b/tempest/api/compute/servers/test_instance_actions.py
@@ -55,6 +55,7 @@ class InstanceActionsV221TestJSON(base.BaseV2ComputeTest): + create_default_network = True min_microversion = '2.21' max_microversion = 'latest'
diff --git a/tempest/api/compute/servers/test_server_password.py b/tempest/api/compute/servers/test_server_password.py index e6a668a..7b31ede 100644 --- a/tempest/api/compute/servers/test_server_password.py +++ b/tempest/api/compute/servers/test_server_password.py
@@ -19,6 +19,7 @@ class ServerPasswordTestJSON(base.BaseV2ComputeTest): + create_default_network = True @classmethod def resource_setup(cls):
diff --git a/tempest/api/compute/volumes/test_attach_volume.py b/tempest/api/compute/volumes/test_attach_volume.py index 92524fc..bee2b7b 100644 --- a/tempest/api/compute/volumes/test_attach_volume.py +++ b/tempest/api/compute/volumes/test_attach_volume.py
@@ -28,6 +28,7 @@ class BaseAttachVolumeTest(base.BaseV2ComputeTest): """Base class for the attach volume tests in this module.""" + create_default_network = True @classmethod def skip_checks(cls):
diff --git a/tempest/api/compute/volumes/test_attach_volume_negative.py b/tempest/api/compute/volumes/test_attach_volume_negative.py index 6d08f90..9a506af 100644 --- a/tempest/api/compute/volumes/test_attach_volume_negative.py +++ b/tempest/api/compute/volumes/test_attach_volume_negative.py
@@ -21,6 +21,7 @@ class AttachVolumeNegativeTest(base.BaseV2ComputeTest): + create_default_network = True @classmethod def skip_checks(cls):