Skip to content

Commit

Permalink
Fix incorrect test
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Oct 4, 2024
1 parent a868a7c commit 53e25b6
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,17 +180,14 @@ private void testOpFromAnotherEventLoop(BiConsumer<ContextInternal, Handler<Void
waitFor(2);
ContextInternal ctx = contextSupplier.get();
createEventLoopContext().nettyEventLoop().execute(() -> {
AtomicBoolean flag = new AtomicBoolean(true);
op.accept(ctx, v2 -> {
if (isSchedule) {
assertNull(Vertx.currentContext());
} else {
assertSame(ctx, Vertx.currentContext());
}
assertFalse(flag.get());
complete();
});
flag.set(false);
complete();
});
await();
Expand Down

0 comments on commit 53e25b6

Please sign in to comment.