Skip to content

Commit

Permalink
Fix yml test {p0=indices.delete_index_template/10_basic} is flaky (op…
Browse files Browse the repository at this point in the history
…ensearch-project#15162)

* Fix yml test {p0=indices.delete_index_template/10_basic} is flaky

Signed-off-by: Gao Binlong <gbinlong@amazon.com>

* Fix warning message

Signed-off-by: Gao Binlong <gbinlong@amazon.com>

---------

Signed-off-by: Gao Binlong <gbinlong@amazon.com>
  • Loading branch information
gaobinlong authored and akolarkunnu committed Sep 10, 2024
1 parent 390736f commit c32f619
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
setup:
- skip:
features: allowed_warnings
- do:
allowed_warnings:
- "index template [test_template_1] has index patterns [test-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test_template_1] will take precedence during new index creation"
indices.put_index_template:
name: test_template_1
body:
Expand All @@ -11,6 +15,8 @@ setup:
"priority": 50

- do:
allowed_warnings:
- "index template [test_template_2] has index patterns [test-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [test_template_2] will take precedence during new index creation"
indices.put_index_template:
name: test_template_2
body:
Expand Down

0 comments on commit c32f619

Please sign in to comment.