projects
/
demos
/
kafka
/
training
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb96692
)
Tests: Geprüft, dass der Fehler nach einem Neustart neu vorliegt
author
Kai Moritz
<kai@juplo.de>
Mon, 11 Apr 2022 14:19:44 +0000
(16:19 +0200)
committer
Kai Moritz
<kai@juplo.de>
Mon, 11 Apr 2022 14:19:44 +0000
(16:19 +0200)
src/test/java/de/juplo/kafka/ApplicationTests.java
patch
|
blob
|
history
diff --git
a/src/test/java/de/juplo/kafka/ApplicationTests.java
b/src/test/java/de/juplo/kafka/ApplicationTests.java
index
994d657
..
6f58180
100644
(file)
--- a/
src/test/java/de/juplo/kafka/ApplicationTests.java
+++ b/
src/test/java/de/juplo/kafka/ApplicationTests.java
@@
-110,6
+110,14
@@
class ApplicationTests
checkSeenOffsetsForProgress();
compareToCommitedOffsets(newOffsets);
+
+ endlessConsumer.start();
+ await("Consumer failed")
+ .atMost(Duration.ofSeconds(30))
+ .until(() -> !endlessConsumer.running());
+
+ checkSeenOffsetsForProgress();
+ compareToCommitedOffsets(newOffsets);
}