Skip to content

Commit

Permalink
Increased wait time
Browse files Browse the repository at this point in the history
Signed-off-by: Kondaka <[email protected]>
  • Loading branch information
kkondaka committed Nov 27, 2023
1 parent 8d4787b commit a58651f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ void aggregateWithPercentSamplerAction(double testPercent) throws InterruptedExc
});
}

boolean allThreadsFinished = countDownLatch.await(10L, TimeUnit.SECONDS);
boolean allThreadsFinished = countDownLatch.await(20L, TimeUnit.SECONDS);

assertThat(allThreadsFinished, equalTo(true));
assertThat((double)allowedEventsCount.get(), closeTo(NUM_THREADS * NUM_EVENTS_PER_BATCH * testPercent/100, 1.0));
Expand Down

0 comments on commit a58651f

Please sign in to comment.