Skip to content

Commit 8ca01de

Browse files
committed
Fix and unmute GetSnapshotsIT
Closes: 129740
1 parent 73a5ce2 commit 8ca01de

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -574,9 +574,6 @@ tests:
574574
- class: org.elasticsearch.streams.StreamsYamlTestSuiteIT
575575
method: test {yaml=streams/logs/10_basic/Check for repeated toggle to same state}
576576
issue: https://github.com/elastic/elasticsearch/issues/129735
577-
- class: org.elasticsearch.snapshots.GetSnapshotsIT
578-
method: testFilterByState
579-
issue: https://github.com/elastic/elasticsearch/issues/129740
580577

581578
# Examples:
582579
#

server/src/internalClusterTest/java/org/elasticsearch/snapshots/GetSnapshotsIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,9 @@ public void testFilterByState() throws Exception {
655655
assertThat(snapshots, hasSize(1));
656656
assertThat(snapshots.getFirst().state(), is(SnapshotState.SUCCESS));
657657

658+
// Add some more state (so the next snapshot has some work to do)
659+
indexRandomDocs(randomIdentifier(), 100);
660+
658661
// Create a snapshot in progress
659662
blockAllDataNodes(repoName);
660663
startFullSnapshot(repoName, "snapshot-in-progress");

0 commit comments

Comments
 (0)