projects
/
demos
/
kafka
/
chat
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b56263
)
WIP:test: HandoverIT-POC - Excuting the Flu...
author
Kai Moritz
<kai@juplo.de>
Fri, 22 Mar 2024 16:35:13 +0000
(17:35 +0100)
committer
Kai Moritz
<kai@juplo.de>
Fri, 22 Mar 2024 16:35:13 +0000
(17:35 +0100)
src/test/java/de/juplo/kafka/chat/backend/TestWriter.java
patch
|
blob
|
history
diff --git
a/src/test/java/de/juplo/kafka/chat/backend/TestWriter.java
b/src/test/java/de/juplo/kafka/chat/backend/TestWriter.java
index
fd33941
..
717a0f0
100644
(file)
--- a/
src/test/java/de/juplo/kafka/chat/backend/TestWriter.java
+++ b/
src/test/java/de/juplo/kafka/chat/backend/TestWriter.java
@@
-41,9
+41,9
@@
public class TestWriter
return i++;
}
})
- .delayElements(Duration.ofMillis(ThreadLocalRandom.current().nextLong(500, 1500)))
.map(i -> "Message #" + i)
.flatMap(message -> sendMessage(chatRoom, message)
+ .delayElement(Duration.ofMillis(ThreadLocalRandom.current().nextLong(500, 1500)))
.retryWhen(Retry.fixedDelay(10, Duration.ofSeconds(1))))
.doOnNext(message ->
{