Skip to content

Commit

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

* 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 Aug 8, 2024
1 parent c6189a9 commit 4fe0358
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 4fe0358

Please sign in to comment.