tempest: use the configured flavor

We currently the m1.tiny flavor instead of the tempest configured one.

This changes fixes that.

Change-Id: I3bf4170d4570a3730111c395ace3f57e028543e4
This commit is contained in:
Mehdi Abaakouk 2017-04-19 09:08:26 +02:00
parent 910140d535
commit 86ed9b8fec
3 changed files with 3 additions and 2 deletions

View File

@ -13,7 +13,7 @@
"type": "OS::Nova::Server",
"properties": {
"networks": [{ "network": "private" }],
"flavor": "m1.tiny",
"flavor": "$ENVIRON['NOVA_FLAVOR_REF']",
"image": "$ENVIRON['GLANCE_IMAGE_NAME']",
"metadata": {
"metering.server_group": { "get_param": "OS::stack_id" }

View File

@ -12,7 +12,7 @@
"type": "OS::Nova::Server",
"properties": {
"networks": [{ "network": "private" }],
"flavor": "m1.tiny",
"flavor": "$ENVIRON['NOVA_FLAVOR_REF']",
"image": "$ENVIRON['GLANCE_IMAGE_NAME']",
"metadata": {
"metering.server_group": { "get_param": "OS::stack_id" }

View File

@ -86,6 +86,7 @@ class TestTelemetryIntegration(manager.ScenarioTest):
"NOVA_SERVICE_URL": self._get_endpoint(auth, "compute"),
"GLANCE_SERVICE_URL": self._get_endpoint(auth, "image"),
"GLANCE_IMAGE_NAME": self.glance_image_create(),
"NOVA_FLAVOR_REF": config.CONF.compute.flavor_ref,
})
with file(os.path.join(TEST_DIR, filename)) as f: