Skip to content

Commit 4269c73

Browse files
authored
[TEST] Remove flaky checks on snapshot shard stats (#123458)
* Update 10_basic.yml * Update muted-tests.yml * Update 10_basic.yml
1 parent b369cbc commit 4269c73

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
@@ -161,9 +161,6 @@ tests:
161161
- class: org.elasticsearch.oldrepos.OldRepositoryAccessIT
162162
method: testOldSourceOnlyRepoAccess
163163
issue: https://github.com/elastic/elasticsearch/issues/120080
164-
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
165-
method: test {p0=snapshot/10_basic/Failed to snapshot indices with synthetic source}
166-
issue: https://github.com/elastic/elasticsearch/issues/120332
167164
- class: org.elasticsearch.xpack.ccr.FollowIndexSecurityIT
168165
method: testCleanShardFollowTaskAfterDeleteFollower
169166
issue: https://github.com/elastic/elasticsearch/issues/120339

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
@@ -113,7 +113,10 @@ setup:
113113
snapshot: test_snapshot_2
114114
wait_for_completion: true
115115
body: |
116-
{ "indices": "test_synthetic" }
116+
{
117+
"indices": "test_synthetic",
118+
"include_global_state": false
119+
}
117120
118121
- match: { snapshot.snapshot: test_snapshot_2 }
119122
- match: { snapshot.state : PARTIAL }
@@ -130,7 +133,10 @@ setup:
130133
snapshot: test_snapshot_3
131134
wait_for_completion: true
132135
body: |
133-
{ "indices": "test_*" }
136+
{
137+
"indices": "test_*",
138+
"include_global_state": false
139+
}
134140
135141
- match: { snapshot.snapshot: test_snapshot_3 }
136142
- match: { snapshot.state : PARTIAL }

0 commit comments

Comments
 (0)