Skip to content

Commit

Permalink
build: fix typo in test, was causing slow build
Browse files Browse the repository at this point in the history
  • Loading branch information
jknack committed May 21, 2023
1 parent de6dc70 commit 062d398
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/test/java/io/jooby/i2828/Issue2828.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
public class Issue2828 {
@ServerTest
public void shouldAckWriteCallback(ServerTestRunner runner) throws InterruptedException {
CountDownLatch latch = new CountDownLatch(3);
CountDownLatch latch = new CountDownLatch(1);
runner
.define(
app -> {
Expand All @@ -40,6 +40,6 @@ public void shouldAckWriteCallback(ServerTestRunner runner) throws InterruptedEx
assertEquals("message-write-back", ws.send("message"));
});
});
latch.await(30, TimeUnit.SECONDS);
latch.await(10, TimeUnit.SECONDS);
}
}

0 comments on commit 062d398

Please sign in to comment.