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
This commit is contained in:
Ade Lee 2019-03-22 14:46:46 -04:00
parent 25460679a2
commit db3da24c61
1 changed files with 2 additions and 2 deletions

View File

@ -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,