Kai Moritz [Sat, 11 Feb 2023 12:02:44 +0000 (13:02 +0100)]
counter: 1.1.11 - Added a test, that is based on `TopologyTestDriver`
- The test reuses `TestData` to asserts the exact same assumptions, as
`CounterApplicationIT`.
- The only difference is, that the message processing is carried out by
the `ToplogyTestDriver` instead of a real Kafka cluster, that is started
along the test-code in the same JVM, as in `CounterApplicationIT`.
Kai Moritz [Tue, 14 Feb 2023 19:03:08 +0000 (20:03 +0100)]
counter: 1.1.7 - Fixed a bug in the assertion-logic for the expected state
- Each combination of a user and a word is a uniq key.
- Since the ordering is only guaranteed for messages, with the same key,
no expectations can be made according the ordering of messages with
different keys!
- This also simplifies the test-logic, because no deserialization is needed
any more to pick the username out of the JSON-data.
Kai Moritz [Sat, 11 Feb 2023 14:26:42 +0000 (15:26 +0100)]
counter: 1.1.5 - Fixed a bug in the integration-test `CounterApplicationIT`
- The default store-type creates state, that is stored on disk.
- Hence, only the first run of the test succseeded.
- The bug was fixed by providing an in-memory store-type.