Poll for no servers in autoscaling test
Heat treats server in DELETED state as deleted,
which leaves for a (rare) possibility to still find
a non-empty list of servers in the end of this test.
Poll for half a minute for no servers in the server list,
and use detailed server list API to have a better picture of
what was server status if this check does nevertheless finds
any servers and fails.
Related-Issue: PRODX-54144
Change-Id: Ia2d859843017e331d4ad0a2f97d0be5302208dec
diff --git a/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling_smoke.yaml b/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling_smoke.yaml
index 2868b8b..29c7112 100644
--- a/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling_smoke.yaml
+++ b/telemetry_tempest_plugin/scenario/telemetry_integration_gabbits/autoscaling_smoke.yaml
@@ -147,7 +147,10 @@
- name: list servers deleted
desc: List servers, no more exists
- url: $ENVIRON['NOVA_SERVICE_URL']/servers
+ url: $ENVIRON['NOVA_SERVICE_URL']/servers/detail
method: GET
+ poll:
+ count: 6
+ delay: 5
response_json_paths:
$.servers: []