Skip to content

Commit a69a975

Browse files
author
Sachin Kale
committed
Fix unit test
Signed-off-by: Sachin Kale <[email protected]>
1 parent 8c32686 commit a69a975

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/test/java/org/opensearch/index/translog/RemoteFsTranslogWithPinnedTimestampTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ public void testIndexDeletionWithNoPinnedTimestampNoRecentMdFiles() throws Excep
190190
addToTranslogAndListAndUpload(translog, ops, new Translog.Index("3", 3, primaryTerm.get(), new byte[] { 1 }));
191191
addToTranslogAndListAndUpload(translog, ops, new Translog.Index("4", 4, primaryTerm.get(), new byte[] { 1 }));
192192

193+
assertBusy(() -> assertTrue(translog.isRemoteGenerationDeletionPermitsAvailable()));
193194
updatePinnedTimstampTask.run();
194195
translog.trimUnreferencedReaders(true, false);
195196

0 commit comments

Comments
 (0)