Skip to content

Commit

Permalink
sped up integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
¨Claude committed Jan 2, 2025
1 parent e744e32 commit df11418
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ static <K, V> List<V> consumeMessages(final String topic, final int expectedMess
consumer.subscribe(Collections.singletonList(topic));

final List<V> recordValues = new ArrayList<>();
await().atMost(Duration.ofMinutes(5)).pollInterval(Duration.ofSeconds(5)).untilAsserted(() -> {
await().atMost(Duration.ofMinutes(1)).pollInterval(Duration.ofSeconds(5)).untilAsserted(() -> {
final ConsumerRecords<K, V> records = consumer.poll(Duration.ofMillis(500L));
for (final ConsumerRecord<K, V> record : records) {
recordValues.add(record.value());
Expand Down

0 comments on commit df11418

Please sign in to comment.