Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
mattisonchao committed Sep 5, 2023
1 parent fd86ada commit 8efc1e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public void testBatchMessageWithNullValue() throws Exception {

// compact the topic
Compactor compactor = new TwoPhaseCompactor(conf, pulsarClient, bk, compactionScheduler);
compactor.compact(topic);
compactor.compact(topic).join();

// Read messages before compaction to get ids
List<Message<byte[]>> messages = new ArrayList<>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
import java.nio.ByteBuffer;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.BitSet;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
Expand Down

0 comments on commit 8efc1e8

Please sign in to comment.