From db3da24c61217140304514fb439e688ede0b39a6 Mon Sep 17 00:00:00 2001 From: Ade Lee Date: Fri, 22 Mar 2019 14:46:46 -0400 Subject: [PATCH] Fix managed service tests Tests can get confused if one test fails to clean up properly, or if the tests are run in parallel. To help resolve this, the managed service entry is set to be different for different tests. Change-Id: Ia5f46d8b543ca64b42404f2aec75f5321cb3bad7 --- .../tests/scenario/test_novajoin_enrollment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/novajoin_tempest_plugin/tests/scenario/test_novajoin_enrollment.py b/novajoin_tempest_plugin/tests/scenario/test_novajoin_enrollment.py index a323b5e..0070385 100644 --- a/novajoin_tempest_plugin/tests/scenario/test_novajoin_enrollment.py +++ b/novajoin_tempest_plugin/tests/scenario/test_novajoin_enrollment.py @@ -131,7 +131,7 @@ class ServerTest(novajoin_manager.NovajoinScenarioTest): metadata = {"ipa_enroll": "True", "compact_services": "{\"HTTP\": [\"ctlplane\", \"internalapi\"]}", - "managed_service_test": "novajoin/test.example.com"} + "managed_service_test": "mysql/instancetest.example.com"} server = self.create_server(name=instance_name, image_id=image_id, flavor=flavor_id, @@ -159,7 +159,7 @@ class ServerTest(novajoin_manager.NovajoinScenarioTest): instance_name = data_utils.rand_name("novajoin") metadata = {"compact_services": "{\"HTTP\": [\"ctlplane\", \"internalapi\"]}", - "managed_service_test": "novajoin/test.example.com"} + "managed_service_test": "mysql/imagetest.example.com"} server = self.create_server(name=instance_name, image_id=image_id, flavor=flavor_id,