diff options
Diffstat (limited to 'cinder/tests/unit/volume/drivers/hitachi/test_hitachi_hbsd_rest_fc.py')
-rw-r--r-- | cinder/tests/unit/volume/drivers/hitachi/test_hitachi_hbsd_rest_fc.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cinder/tests/unit/volume/drivers/hitachi/test_hitachi_hbsd_rest_fc.py b/cinder/tests/unit/volume/drivers/hitachi/test_hitachi_hbsd_rest_fc.py index 3743a2cb3..63e48b5bd 100644 --- a/cinder/tests/unit/volume/drivers/hitachi/test_hitachi_hbsd_rest_fc.py +++ b/cinder/tests/unit/volume/drivers/hitachi/test_hitachi_hbsd_rest_fc.py @@ -492,7 +492,7 @@ class HBSDRESTFCDriverTest(test.TestCase): self.configuration.driver_ssl_cert_verify = False self.configuration.hitachi_storage_id = CONFIG_MAP['serial'] - self.configuration.hitachi_pool = ["30"] + self.configuration.hitachi_pools = ["30"] self.configuration.hitachi_snap_pool = None self.configuration.hitachi_ldev_range = "0-1" self.configuration.hitachi_target_ports = [CONFIG_MAP['port_id']] @@ -760,8 +760,8 @@ class HBSDRESTFCDriverTest(test.TestCase): drv = hbsd_fc.HBSDFCDriver( configuration=self.configuration) self._setup_config() - tmp_pool = self.configuration.hitachi_pool - self.configuration.hitachi_pool = [CONFIG_MAP['pool_name']] + tmp_pools = self.configuration.hitachi_pools + self.configuration.hitachi_pools = [CONFIG_MAP['pool_name']] request.side_effect = [FakeResponse(200, POST_SESSIONS_RESULT), FakeResponse(200, GET_POOLS_RESULT), FakeResponse(200, GET_PORTS_RESULT), @@ -773,7 +773,7 @@ class HBSDRESTFCDriverTest(test.TestCase): drv.common.storage_info['wwns']) self.assertEqual(1, brick_get_connector_properties.call_count) self.assertEqual(5, request.call_count) - self.configuration.hitachi_pool = tmp_pool + self.configuration.hitachi_pools = tmp_pools # stop the Loopingcall within the do_setup treatment self.driver.common.client.keep_session_loop.stop() self.driver.common.client.keep_session_loop.wait() |