Skip to content

Commit

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

(cherry picked from commit 332f4c5)

Signed-off-by: Dhwanil Patel <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 76a2db3 commit cb3b0f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,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 cb3b0f3

Please sign in to comment.