Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Jan 6, 2025
1 parent 81dfe81 commit e6346b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ private ImprovedAdminClient createAdminClient() {
private List<KeyValue<String, Long>> readOutputTopic(final String outputTopic) {
final List<ConsumerRecord<String, Long>> records = this.newContainerHelper().read()
.with(ConsumerConfig.VALUE_DESERIALIZER_CLASS_CONFIG, LongDeserializer.class)
.from(outputTopic, Duration.ofSeconds(1L));
.from(outputTopic, TIMEOUT);
return records.stream()
.map(record -> new KeyValue<>(record.key(), record.value()))
.collect(Collectors.toList());
Expand Down

0 comments on commit e6346b9

Please sign in to comment.