diff options
author | Linda Wang <wangwulin@huawei.com> | 2018-03-22 11:51:49 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2018-03-22 11:55:34 +0000 |
commit | 65aca3d6919a3d31fa360afa01baee5ebff1fe22 (patch) | |
tree | e1cb9218852769ee96ab00bf5040c93dac63b24c /snaps | |
parent | cbd9af45e80c9e1922cb2046bd9b5737d4d51abb (diff) |
Remove test_create_volume_bad_zone
JIRA: FUEL-356
Fuel/MCP has set allow_availability_zone_fallback option to True.
If the requested Cinder availability zone is unavailable, fall back
to the value of default_availability_zone, then storage_availability_zone,
instead of failing.
Change-Id: I04f45f8435dbdf1113ac6b2c50bf913c1f29cd20
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'snaps')
-rw-r--r-- | snaps/openstack/tests/create_volume_tests.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/snaps/openstack/tests/create_volume_tests.py b/snaps/openstack/tests/create_volume_tests.py index 4392245..3c9a346 100644 --- a/snaps/openstack/tests/create_volume_tests.py +++ b/snaps/openstack/tests/create_volume_tests.py @@ -282,21 +282,6 @@ class CreateSimpleVolumeFailureTests(OSIntegrationTestCase): with self.assertRaises(BadRequest): self.volume_creator.create(block=True) - def test_create_volume_bad_zone(self): - """ - Tests the creation of an OpenStack volume with an availability zone - that does not exist to ensure it raises a BadRequest exception. - """ - volume_settings = VolumeConfig( - name=self.__class__.__name__ + '-' + str(self.guid), - availability_zone='foo') - - # Create Volume - self.volume_creator = OpenStackVolume(self.os_creds, volume_settings) - - with self.assertRaises(BadRequest): - self.volume_creator.create(block=True) - class CreateVolumeWithTypeTests(OSIntegrationTestCase): """ |