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>
Sat, 16 Mar 2024 09:10:48 +0000 (10:10 +0100)
commit4d0318357917a17c578e6232f70f29b5fcda68c8
treed8cb16026216044b48706e8343fdf8579e93bc94
parent7862728a5553044dbcf98947b8739967108370da
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