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
This commit is contained in:
Mehdi Abaakouk 2015-08-21 08:16:29 +00:00
parent 5ba15a556d
commit eadc260024

View File

@ -96,6 +96,9 @@ tests:
redirects: true redirects: true
method: GET method: GET
status: 200 status: 200
poll:
count: 5
delay: 1
response_json_paths: response_json_paths:
$.stack.stack_status: "CREATE_COMPLETE" $.stack.stack_status: "CREATE_COMPLETE"
@ -104,7 +107,7 @@ tests:
url: $ENVIRON['NOVA_SERVICE_URL']/servers/detail url: $ENVIRON['NOVA_SERVICE_URL']/servers/detail
method: GET method: GET
poll: poll:
count: 1200 count: 600
delay: 1 delay: 1
response_json_paths: response_json_paths:
$.servers[0].metadata.'metering.server_group': $RESPONSE['$.stack.id'] $.servers[0].metadata.'metering.server_group': $RESPONSE['$.stack.id']
@ -118,6 +121,9 @@ tests:
desc: Check the gnocchi resources for this three servers exists desc: Check the gnocchi resources for this three servers exists
url: $ENVIRON['GNOCCHI_SERVICE_URL']/v1/resource/instance url: $ENVIRON['GNOCCHI_SERVICE_URL']/v1/resource/instance
method: GET method: GET
poll:
count: 30
delay: 1
response_strings: response_strings:
- '"id": "$RESPONSE["$.servers[0].id"]"' - '"id": "$RESPONSE["$.servers[0].id"]"'
- '"id": "$RESPONSE["$.servers[1].id"]"' - '"id": "$RESPONSE["$.servers[1].id"]"'