Skip to content

Commit 02fc7d1

Browse files
committed
Increase max.wait in BatchIndividualRecordObservationTests
1 parent f852c28 commit 02fc7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/test/java/org/springframework/kafka/support/micrometer/BatchIndividualRecordObservationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ ProducerFactory<Integer, String> producerFactory(EmbeddedKafkaBroker broker) {
188188
ConsumerFactory<Integer, String> consumerFactory(EmbeddedKafkaBroker broker) {
189189
Map<String, Object> configs = KafkaTestUtils.consumerProps(broker, "batch-tests", false);
190190
configs.put(ConsumerConfig.FETCH_MIN_BYTES_CONFIG, 54);
191-
configs.put(ConsumerConfig.FETCH_MAX_WAIT_MS_CONFIG, 1000);
191+
configs.put(ConsumerConfig.FETCH_MAX_WAIT_MS_CONFIG, 2000);
192192
return new DefaultKafkaConsumerFactory<>(configs);
193193
}
194194

0 commit comments

Comments
 (0)