-
-
Save jponge/1f19d5d4d810867a87faaad4a436b0ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Test | |
@DisplayName("⏱ Count 3 timer ticks, with a checkpoint") | |
void countThreeTicksWithCheckpoints(Vertx vertx, VertxTestContext testContext) { | |
Checkpoint checkpoint = testContext.checkpoint(3); | |
vertx.setPeriodic(100, id -> checkpoint.flag()); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment