From 8c3fd23902f1f6736c2d83263f08382bd541a136 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 25 Aug 2023 12:28:45 +0200 Subject: [PATCH] WIP:KafkaChatHomeTest --- .../chat/backend/persistence/kafka/KafkaChatHomeTest.java | 3 +++ 1 file changed, 3 insertions(+) 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 { -- 2.20.1