Skip to content

Commit

Permalink
Fixing flakiness of ShuffleForcedMergePolicyTests (#3591) (#3592)
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
(cherry picked from commit 055a9fc)

Co-authored-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
opensearch-trigger-bot[bot] and reta authored Jun 15, 2022
1 parent 0a5bf16 commit 7b13c24
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
public class ShuffleForcedMergePolicyTests extends BaseMergePolicyTestCase {
public void testDiagnostics() throws IOException {
try (Directory dir = newDirectory()) {
IndexWriterConfig iwc = newIndexWriterConfig();
IndexWriterConfig iwc = newIndexWriterConfig().setMaxFullFlushMergeWaitMillis(0);
MergePolicy mp = new ShuffleForcedMergePolicy(newTieredMergePolicy());
iwc.setMergePolicy(mp);
boolean sorted = random().nextBoolean();
Expand Down

0 comments on commit 7b13c24

Please sign in to comment.