From eadc260024f98048b0618919caeac02b564901e9 Mon Sep 17 00:00:00 2001 From: Mehdi Abaakouk Date: Fri, 21 Aug 2015 08:16:29 +0000 Subject: [PATCH] integration test: adjusts timeout This change waits * for the update of heat stack status * less time that the scale up occur * a bit that gnocchi measures are ingested Change-Id: Ic347e9eda88a251859b482c90325dfb374d88cf8 --- .../tests/integration/gabbi/gabbits-live/autoscaling.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml b/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml index 04d7b452..e263d5c6 100644 --- a/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml +++ b/ceilometer/tests/integration/gabbi/gabbits-live/autoscaling.yaml @@ -96,6 +96,9 @@ tests: redirects: true method: GET status: 200 + poll: + count: 5 + delay: 1 response_json_paths: $.stack.stack_status: "CREATE_COMPLETE" @@ -104,7 +107,7 @@ tests: url: $ENVIRON['NOVA_SERVICE_URL']/servers/detail method: GET poll: - count: 1200 + count: 600 delay: 1 response_json_paths: $.servers[0].metadata.'metering.server_group': $RESPONSE['$.stack.id'] @@ -118,6 +121,9 @@ tests: desc: Check the gnocchi resources for this three servers exists url: $ENVIRON['GNOCCHI_SERVICE_URL']/v1/resource/instance method: GET + poll: + count: 30 + delay: 1 response_strings: - '"id": "$RESPONSE["$.servers[0].id"]"' - '"id": "$RESPONSE["$.servers[1].id"]"'