Tolerate conflict on test archive policy create
followup to I978937d89b2e886e2ef690661bc00a730db94c92
if the previous test run was not completed successfully,
it is most certain that the main test archive policy was not deleted,
which makes test re-run to fail right at the start.
As there are other tests that test archive policy creation,
tolerate conflict error on the first attempt to create the policy.
Change-Id: Id5ee8477aeb3ba525a9edb4f92e97ef15b559fe4
Related-Issue: PRODX-32521
diff --git a/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml b/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml
index c62c012..dcd0e12 100644
--- a/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml
+++ b/telemetry_tempest_plugin/scenario/gnocchi_gabbits/live.yaml
@@ -126,7 +126,8 @@
- max
response_headers:
location: $ENVIRON['GNOCCHI_SERVICE_URL']/v1/archive_policy/gabbilive
- status: 201
+ # 409 when policy with such name already exists
+ status: 201 || 409
# Retrieve it correctly and then poorly