Skip to content

Commit

Permalink
Fix flaky test of IndexShardTests.testRestoreLocalHistoryFromTranslog…
Browse files Browse the repository at this point in the history
…OnPromotion (#11487)

Signed-off-by: Dhwanil Patel <[email protected]>
  • Loading branch information
dhwanilpatel authored Dec 14, 2023
1 parent 49ce678 commit 332f4c5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1416,7 +1416,7 @@ public void testRestoreLocalHistoryFromTranslogOnPromotion() throws IOException,
indexShard,
indexShard.getPendingPrimaryTerm() + 1,
globalCheckpoint,
randomLongBetween(SequenceNumbers.NO_OPS_PERFORMED, maxSeqNo),
randomLongBetween(SequenceNumbers.NO_OPS_PERFORMED, maxSeqNoOfUpdatesOrDeletesBeforeRollback),
new ActionListener<Releasable>() {
@Override
public void onResponse(Releasable releasable) {
Expand Down

0 comments on commit 332f4c5

Please sign in to comment.