WIP:KafkaChatHomeTest
authorKai Moritz <kai@juplo.de>
Fri, 25 Aug 2023 10:23:19 +0000 (12:23 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 25 Aug 2023 10:23:19 +0000 (12:23 +0200)
src/test/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeTest.java

index a99a75c..d18132d 100644 (file)
@@ -8,6 +8,7 @@ import org.apache.kafka.common.TopicPartition;
 import org.junit.jupiter.api.AfterAll;
 import org.junit.jupiter.api.BeforeAll;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration;
 import org.springframework.boot.test.context.TestConfiguration;
 import org.springframework.context.annotation.Import;
 import org.springframework.context.annotation.PropertySource;
@@ -41,7 +42,10 @@ public class KafkaChatHomeTest extends ChatHomeWithShardsTestBase
 
 
   @TestConfiguration
-  @Import(KafkaServicesConfiguration.class)
+  @Import({
+      KafkaServicesConfiguration.class,
+      KafkaAutoConfiguration.class,
+  })
   static class Configuration
   {
   }