From: Kai Moritz Date: Fri, 25 Aug 2023 10:28:45 +0000 (+0200) Subject: WIP:KafkaChatHomeTest X-Git-Tag: wip-kafka-chat-home-test--springboot~1 X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=8c3fd23902f1f6736c2d83263f08382bd541a136;p=demos%2Fkafka%2Fchat WIP:KafkaChatHomeTest --- diff --git a/src/test/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeTest.java b/src/test/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeTest.java index d18132d6..4d5c12cc 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeTest.java +++ b/src/test/java/de/juplo/kafka/chat/backend/persistence/kafka/KafkaChatHomeTest.java @@ -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 {