File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
vertx-sql-client/src/test/java/io/vertx/sqlclient/tck Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 14
14
import io .vertx .core .Future ;
15
15
import io .vertx .core .Handler ;
16
16
import io .vertx .core .Vertx ;
17
+ import io .vertx .core .internal .ContextInternal ;
17
18
import io .vertx .ext .unit .Async ;
18
19
import io .vertx .ext .unit .TestContext ;
19
20
import io .vertx .sqlclient .*;
@@ -385,7 +386,7 @@ public void testWithPropagatableConnectionTransactionCommit(TestContext ctx) {
385
386
.execute ()
386
387
.onComplete (ctx .asyncAssertSuccess (rows -> {
387
388
ctx .assertEquals (3 , rows .size ());
388
- ctx .assertNull (Vertx .currentContext ().getLocal ("propagatable_connection" ));
389
+ ctx .assertNull ((( ContextInternal ) Vertx .currentContext () ).getLocal ("propagatable_connection" ));
389
390
async .complete ();
390
391
}))));
391
392
});
@@ -406,7 +407,7 @@ public void testWithPropagatableConnectionTransactionRollback(TestContext ctx) {
406
407
.execute ()
407
408
.onComplete (ctx .asyncAssertSuccess (rows -> {
408
409
ctx .assertEquals (0 , rows .size ());
409
- ctx .assertNull (Vertx .currentContext ().getLocal ("propagatable_connection" ));
410
+ ctx .assertNull ((( ContextInternal ) Vertx .currentContext () ).getLocal ("propagatable_connection" ));
410
411
async .complete ();
411
412
}))));
412
413
});
You can’t perform that action at this time.
0 commit comments