From 0e16b5b4b2467b43e53cc62622b447714e54d476 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 5 Jul 2024 23:31:39 +0200 Subject: [PATCH] Fixed demo: The order looked only random, because of the wrong input time --- .../kafka/wordcount/counter/StreamStreamJoinTopologyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/de/juplo/kafka/wordcount/counter/StreamStreamJoinTopologyTest.java b/src/test/java/de/juplo/kafka/wordcount/counter/StreamStreamJoinTopologyTest.java index f73d028..4dedf0f 100644 --- a/src/test/java/de/juplo/kafka/wordcount/counter/StreamStreamJoinTopologyTest.java +++ b/src/test/java/de/juplo/kafka/wordcount/counter/StreamStreamJoinTopologyTest.java @@ -104,7 +104,7 @@ public class StreamStreamJoinTopologyTest void assertThatOutcomeIs(String... expected) { - assertThat(outcome()).containsExactlyInAnyOrder(expected); + assertThat(outcome()).containsExactly(expected); } Stream outcome() -- 2.20.1