Skip to content

Commit 0bd0cd3

Browse files
committed
format test harness stabilization changes
1 parent 479e176 commit 0bd0cd3

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/test/java/io/getstream/chat/java/BasicTest.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ private static void cleanChannels() throws StreamException {
8181
}
8282

8383
waitFor(
84-
() -> Assertions.assertDoesNotThrow(() -> Channel.list().request().getChannels().isEmpty()),
84+
() ->
85+
Assertions.assertDoesNotThrow(() -> Channel.list().request().getChannels().isEmpty()),
8586
1000L,
8687
60000L);
8788
}
@@ -363,7 +364,8 @@ protected static void waitForTaskCompletion(String taskId) {
363364
taskId, status, lastResponse.getResult()));
364365
}
365366

366-
if (("completed".equals(status) || "ok".equals(status)) && isTaskResultTerminal(lastResponse)) {
367+
if (("completed".equals(status) || "ok".equals(status))
368+
&& isTaskResultTerminal(lastResponse)) {
367369
return;
368370
}
369371

0 commit comments

Comments
 (0)