Poll multiple times for deleted resources.

Autoscaling scenario currently sometimes fails, because there
is still a server running after deleting the stack. Poll for
the servers multiple times to give them enough time to get
deleted.

Change-Id: Ia16a9768bfeb07ecb1f795cc1f75e4da49cd73e4
This commit is contained in:
Jaromir Wysoglad
2024-06-10 04:51:35 -04:00
parent 68adef732b
commit 405a904690
2 changed files with 12 additions and 0 deletions

View File

@@ -152,6 +152,9 @@ tests:
desc: List alarms, no more exist
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
method: GET
poll:
count: 30
delay: 2
response_strings:
- "[]"
@@ -159,5 +162,8 @@ tests:
desc: List servers, no more exists
url: $ENVIRON['NOVA_SERVICE_URL']/servers
method: GET
poll:
count: 30
delay: 2
response_strings:
- "[]"

View File

@@ -151,6 +151,9 @@ tests:
desc: List alarms, no more exist
url: $ENVIRON['AODH_SERVICE_URL']/v2/alarms
method: GET
poll:
count: 30
delay: 2
response_strings:
- "[]"
@@ -158,5 +161,8 @@ tests:
desc: List servers, no more exists
url: $ENVIRON['NOVA_SERVICE_URL']/servers
method: GET
poll:
count: 30
delay: 2
response_strings:
- "[]"