Skip to content

Commit 4fe0358

Browse files
authored
Fix yml test {p0=indices.delete_index_template/10_basic} is flaky (#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>
1 parent c6189a9 commit 4fe0358

File tree

1 file changed

+6
-0
lines changed
  • rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_index_template

1 file changed

+6
-0
lines changed

rest-api-spec/src/main/resources/rest-api-spec/test/indices.delete_index_template/10_basic.yml

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
setup:
2+
- skip:
3+
features: allowed_warnings
24
- do:
5+
allowed_warnings:
6+
- "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"
37
indices.put_index_template:
48
name: test_template_1
59
body:
@@ -11,6 +15,8 @@ setup:
1115
"priority": 50
1216

1317
- do:
18+
allowed_warnings:
19+
- "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"
1420
indices.put_index_template:
1521
name: test_template_2
1622
body:

0 commit comments

Comments
 (0)