test: RED - Added test for multiple parallel Listeners to `ChatRoomDataTest`
authorKai Moritz <kai@juplo.de>
Fri, 8 Mar 2024 17:10:43 +0000 (18:10 +0100)
committerKai Moritz <kai@juplo.de>
Fri, 22 Mar 2024 16:39:20 +0000 (17:39 +0100)
commit6e9b68d07e0f48a6f7b4f97697ce461e51eb48a6
treed082a5fa65a794dc4234d6c48e838388c0890f11
parentc0797810e3222618e6d7be31beba34fc52c009ed
test: RED - Added test for multiple parallel Listeners to `ChatRoomDataTest`

* The test formulates the expectation, that late listeners should see all
  messages (for a reasonable long period before their subscriptions)
* The test _fails_, because the implementation only buffers messages for
  backpressure -- _not for replay!_
src/test/java/de/juplo/kafka/chat/backend/domain/ChatRoomDataTest.java