We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4194f4 commit c064db3Copy full SHA for c064db3
server/src/test/java/org/elasticsearch/snapshots/SnapshotResiliencyTests.java
@@ -284,8 +284,7 @@ public void testSuccessfulSnapshotAndRestore() {
284
}
285
));
286
}))));
287
- runUntil(
288
- () -> createdSnapshot.get() && snapshotRestored.get() && documentCountVerified.get(), TimeUnit.MINUTES.toMillis(5L));
+ runUntil(documentCountVerified::get, TimeUnit.MINUTES.toMillis(5L));
289
assertTrue(createdSnapshot.get());
290
assertTrue(snapshotRestored.get());
291
assertTrue(documentCountVerified.get());
0 commit comments