Skip to content

Commit 3d274eb

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

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,9 +441,6 @@ tests:
441441
- class: org.elasticsearch.xpack.ml.integration.ClassificationIT
442442
method: testWithOnlyTrainingRowsAndTrainingPercentIsFifty_DependentVariableIsKeyword
443443
issue: https://github.com/elastic/elasticsearch/issues/122908
444-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
445-
method: test {p0=snapshot/10_basic/Failed to snapshot indices with synthetic source}
446-
issue: https://github.com/elastic/elasticsearch/issues/120332
447444
- class: org.elasticsearch.xpack.core.common.notifications.AbstractAuditorTests
448445
method: testRecreateTemplateWhenDeleted
449446
issue: https://github.com/elastic/elasticsearch/issues/123232

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)