From c3a2e1725245ce34f73fe1daecc531c8b445a08f Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Thu, 14 Mar 2024 10:52:28 +0100 Subject: [PATCH] WIP:test: `*ConfigurationIT` asserts, if restored messages can be seen --- .../InMemoryWithNoStorageAndShardingConfigurationIT.java | 8 ++++++++ .../backend/InMemoryWithNoStorageConfigurationIT.java | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageAndShardingConfigurationIT.java b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageAndShardingConfigurationIT.java index fb364182..830a822c 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageAndShardingConfigurationIT.java +++ b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageAndShardingConfigurationIT.java @@ -28,4 +28,12 @@ class InMemoryWithNoStorageAndShardingConfigurationIT extends AbstractConfigurat @Override @Disabled("Chat-Rooms cannot be restored, if storage is disabled") void testRestoredMessageForPeterHasExpectedText() {} + + @Override + @Disabled("Chat-Rooms cannot be restored, if storage is disabled") + void testListenToRestoredChatRoomYieldsRestoredMessages() {} + + @Override + @Disabled("Chat-Rooms cannot be restored, if storage is disabled") + void testListenToRestoredChatRoomYieldsAddedMessages() {} } diff --git a/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageConfigurationIT.java b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageConfigurationIT.java index 89748a18..b23da119 100644 --- a/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageConfigurationIT.java +++ b/src/test/java/de/juplo/kafka/chat/backend/InMemoryWithNoStorageConfigurationIT.java @@ -26,4 +26,12 @@ class InMemoryWithNoStorageConfigurationIT extends AbstractConfigurationIT @Override @Disabled("Chat-Rooms cannot be restored, if storage is disabled") void testRestoredMessageForPeterHasExpectedText() {} + + @Override + @Disabled("Chat-Rooms cannot be restored, if storage is disabled") + void testListenToRestoredChatRoomYieldsRestoredMessages() {} + + @Override + @Disabled("Chat-Rooms cannot be restored, if storage is disabled") + void testListenToRestoredChatRoomYieldsAddedMessages() {} } -- 2.20.1