Skip to content

Commit 21b4361

Browse files
author
w.vela
committed
fix compile error for test case.
1 parent b8433e5 commit 21b4361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/github/phantomthief/test/MultiThreadQueueTriggerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public void test2() throws InterruptedException {
5353
BufferTrigger<String> buffer = BufferTrigger.<String> batchBlocking() //
5454
.batchConsumerSize(3) //
5555
.setConsumerEx(this::delay) //
56-
.consumePeriod(10, MILLISECONDS) //
56+
.linger(10, MILLISECONDS) //
5757
.build();
5858
Set<String> allData = synchronizedSet(new HashSet<>());
5959
deal = synchronizedSet(new HashSet<>());

0 commit comments

Comments
 (0)