Skip to content

Commit aab99ea

Browse files
authored
[TEST] Remove flaky checks on snapshot shard stats (#123458) (#123488)
* Update 10_basic.yml * Update muted-tests.yml * Update 10_basic.yml (cherry picked from commit 4269c73) # Conflicts: # muted-tests.yml
1 parent daec5ca commit aab99ea

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

muted-tests.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,4 @@ tests:
462462
- class: org.elasticsearch.analysis.common.CommonAnalysisClientYamlTestSuiteIT
463463
method: test {yaml=analysis-common/40_token_filters/stemmer_override file access}
464464
issue: https://github.com/elastic/elasticsearch/issues/121625
465-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
466-
method: test {p0=snapshot/10_basic/Failed to snapshot indices with synthetic source}
467-
issue: https://github.com/elastic/elasticsearch/issues/120332
465+

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/snapshot/10_basic.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ setup:
115115
snapshot: test_snapshot_2
116116
wait_for_completion: true
117117
body: |
118-
{ "indices": "test_synthetic" }
118+
{
119+
"indices": "test_synthetic",
120+
"include_global_state": false
121+
}
119122
120123
- match: { snapshot.snapshot: test_snapshot_2 }
121124
- match: { snapshot.state : PARTIAL }
@@ -132,7 +135,10 @@ setup:
132135
snapshot: test_snapshot_3
133136
wait_for_completion: true
134137
body: |
135-
{ "indices": "test_*" }
138+
{
139+
"indices": "test_*",
140+
"include_global_state": false
141+
}
136142
137143
- match: { snapshot.snapshot: test_snapshot_3 }
138144
- match: { snapshot.state : PARTIAL }

0 commit comments

Comments
 (0)