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 <[email protected]>

* Fix warning message

Signed-off-by: Gao Binlong <[email protected]>

---------

Signed-off-by: Gao Binlong <[email protected]>
  • Loading branch information
gaobinlong authored and wangdongyu.danny committed Aug 22, 2024
1 parent ec7379a commit 288f9cd
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 288f9cd

Please sign in to comment.