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

index d18132d..4d5c12c 100644 (file)
@@ -9,7 +9,9 @@ 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.autoconfigure.task.TaskExecutionAutoConfiguration;
 import org.springframework.boot.test.context.TestConfiguration;
+import org.springframework.context.annotation.Bean;
 import org.springframework.context.annotation.Import;
 import org.springframework.context.annotation.PropertySource;
 import org.springframework.kafka.core.KafkaTemplate;
@@ -45,6 +47,7 @@ public class KafkaChatHomeTest extends ChatHomeWithShardsTestBase
   @Import({
       KafkaServicesConfiguration.class,
       KafkaAutoConfiguration.class,
+      TaskExecutionAutoConfiguration.class,
   })
   static class Configuration
   {