diff options
author | Lingxian Kong <anlin.kong@gmail.com> | 2019-06-12 20:35:29 +1200 |
---|---|---|
committer | Lingxian Kong <anlin.kong@gmail.com> | 2019-08-25 23:11:54 +1200 |
commit | dfa5ce93d5f7caa49950d4565bab12fe2dc56ffb (patch) | |
tree | 43cab6ca3da72c55d4d1975c7d46d95b4432a106 /trove/tests/unittests/mgmt/test_datastores.py | |
parent | c247e4842eb424214da55ca751535d107d87ceab (diff) | |
download | trove-dfa5ce93d5f7caa49950d4565bab12fe2dc56ffb.tar.gz |
Improve devmode=flase when building the image
During debugging, the following changes are also included:
- Support to specify an image ID to run the integration test.
- Fix the reboot function bug.
- Remove the unsuccessful restart test.
How to run integration test with dev_mode=false:
ADMIN_PASSWORD=password \
SERVICE_PASSWORD=password \
DEV_MODE=false \
/opt/stack/trove/integration/scripts/trovestack gate-tests mysql mysql
Change-Id: I31d4ee579a554f4c98f9facb9fd4b7779665a3dd
Diffstat (limited to 'trove/tests/unittests/mgmt/test_datastores.py')
-rw-r--r-- | trove/tests/unittests/mgmt/test_datastores.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/trove/tests/unittests/mgmt/test_datastores.py b/trove/tests/unittests/mgmt/test_datastores.py index 94cf2e0b..d1721f39 100644 --- a/trove/tests/unittests/mgmt/test_datastores.py +++ b/trove/tests/unittests/mgmt/test_datastores.py @@ -52,7 +52,7 @@ class TestDatastoreVersion(trove_testtools.TestCase): def test_version_create(self, mock_glance_client): body = {"version": { "datastore_name": "test_ds", - "name": "test_vr", + "name": "test_version", "datastore_manager": "mysql", "image": "image-id", "packages": "test-pkg", |