Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/ExtSeqWithTimeWindowIntegrationTest.java

Co-authored-by: Liam Williams <liam.williams@zoho.com>
This commit is contained in:
Amol Gote 2023-11-02 19:41:15 -04:00 committed by GitHub
parent b7d743c629
commit 667620821b
1 changed files with 1 additions and 1 deletions
apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering

View File

@ -38,7 +38,7 @@ public class ExtSeqWithTimeWindowIntegrationTest {
private static final long BUFFER_PERIOD_NS = 5000L * 1000000; // 5000 milliseconds converted to nanoseconds
@Container
private static final KafkaContainer KAFKA_CONTAINER = new KafkaContainer(DockerImageName.parse("confluentinc/cp-kafka:latest"));
private static final long BUFFER_PERIOD_NS = Duration.ofSeconds(5).toNanos();
@BeforeAll
static void setup() throws ExecutionException, InterruptedException {