From 95379f73cc089105c9e097986a1af4c52c1d75d3 Mon Sep 17 00:00:00 2001 From: s9m33r Date: Sun, 4 Feb 2024 11:38:52 +0530 Subject: [PATCH] BAEL-7351 removed new lines --- .../java/com/baeldung/spring/kafka/groupId/MainLiveTest.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/spring-kafka-2/src/test/java/com/baeldung/spring/kafka/groupId/MainLiveTest.java b/spring-kafka-2/src/test/java/com/baeldung/spring/kafka/groupId/MainLiveTest.java index dad1dbbf5d..338ed2855f 100644 --- a/spring-kafka-2/src/test/java/com/baeldung/spring/kafka/groupId/MainLiveTest.java +++ b/spring-kafka-2/src/test/java/com/baeldung/spring/kafka/groupId/MainLiveTest.java @@ -33,9 +33,7 @@ public class MainLiveTest { @Test public void givenEmbeddedKafkaBroker_whenSendingWithSimpleProducer_thenMessageReceived() throws Exception { String data = "Test 123..."; - producer.send(data); - boolean messageConsumed = consumer.getLatch() .await(10, TimeUnit.SECONDS); assertTrue(messageConsumed);