We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 479e176 commit 0bd0cd3Copy full SHA for 0bd0cd3
1 file changed
src/test/java/io/getstream/chat/java/BasicTest.java
@@ -81,7 +81,8 @@ private static void cleanChannels() throws StreamException {
81
}
82
83
waitFor(
84
- () -> Assertions.assertDoesNotThrow(() -> Channel.list().request().getChannels().isEmpty()),
+ () ->
85
+ Assertions.assertDoesNotThrow(() -> Channel.list().request().getChannels().isEmpty()),
86
1000L,
87
60000L);
88
@@ -363,7 +364,8 @@ protected static void waitForTaskCompletion(String taskId) {
363
364
taskId, status, lastResponse.getResult()));
365
366
- if (("completed".equals(status) || "ok".equals(status)) && isTaskResultTerminal(lastResponse)) {
367
+ if (("completed".equals(status) || "ok".equals(status))
368
+ && isTaskResultTerminal(lastResponse)) {
369
return;
370
371
0 commit comments