Skip to content

Commit

Permalink
Update to executeBlocking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Jul 19, 2023
1 parent 2135bd0 commit 6205224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/io/vertx/junit5/VertxExtensionTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,13 +190,13 @@ class FailureWithIntermediateAsyncVerifierTest {
@Test
@Tag("programmatic")
void thisMustAlsoFail(Vertx vertx, VertxTestContext testContext) {
vertx.<Integer>executeBlocking(f -> {
vertx.<Integer>executeBlocking(() -> {
try {
Thread.sleep(500);
} catch (InterruptedException e) {
e.printStackTrace();
}
f.complete(69);
return 69;
}).onComplete(testContext.succeeding(i -> testContext.verify(() -> assertEquals(58, i))));
}
}
Expand Down

0 comments on commit 6205224

Please sign in to comment.