Skip to content

Commit fc56a32

Browse files
committed
Fix incorrect test
1 parent 00fa556 commit fc56a32

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/test/java/io/vertx/core/ContextTaskTest.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,17 +178,14 @@ private void testOpFromAnotherEventLoop(BiConsumer<ContextInternal, Handler<Void
178178
waitFor(2);
179179
ContextInternal ctx = contextSupplier.get();
180180
createEventLoopContext().nettyEventLoop().execute(() -> {
181-
AtomicBoolean flag = new AtomicBoolean(true);
182181
op.accept(ctx, v2 -> {
183182
if (isSchedule) {
184183
assertNull(Vertx.currentContext());
185184
} else {
186185
assertSame(ctx, Vertx.currentContext());
187186
}
188-
assertFalse(flag.get());
189187
complete();
190188
});
191-
flag.set(false);
192189
complete();
193190
});
194191
await();

0 commit comments

Comments
 (0)