Skip to content

Commit

Permalink
Fixing flakiness of ShuffleForcedMergePolicyTests
Browse files Browse the repository at this point in the history
Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
  • Loading branch information
reta committed Jun 15, 2022
1 parent e767924 commit 952da55
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 952da55

Please sign in to comment.