WIP:refactor: Refined channel-states, introduced `ChannelState` -- ALIGN
[demos/kafka/chat] / src / test / java / de / juplo / kafka / chat / backend / InMemoryWithNoStorageAndShardingConfigurationIT.java
1 package de.juplo.kafka.chat.backend;
2
3 import org.junit.jupiter.api.Disabled;
4 import org.springframework.boot.test.context.SpringBootTest;
5
6
7 @SpringBootTest(
8     webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT,
9     properties = {
10         "chat.backend.inmemory.storage-strategy=none",
11         "chat.backend.inmemory.sharding-strategy=kafkalike",
12         "chat.backend.inmemory.num-shards=10",
13         "chat.backend.inmemory.owned-shards=2" })
14 class InMemoryWithNoStorageAndShardingConfigurationIT extends AbstractConfigurationWithShardingIT
15 {
16   @Override
17   @Disabled("Chat-Rooms cannot be restored, if storage is disabled")
18   void testRestoredChatRoomsCanBeListed() {}
19
20   @Override
21   @Disabled("Chat-Rooms cannot be restored, if storage is disabled")
22   void testRestoredChatRoomHasExpectedDetails() {}
23
24   @Override
25   @Disabled("Chat-Rooms cannot be restored, if storage is disabled")
26   void testRestoredMessageForUteHasExpectedText() {}
27
28   @Override
29   @Disabled("Chat-Rooms cannot be restored, if storage is disabled")
30   void testRestoredMessageForPeterHasExpectedText() {}
31 }