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 1414import io .vertx .core .Future ;
1515import io .vertx .core .Handler ;
1616import io .vertx .core .Vertx ;
17+ import io .vertx .core .internal .ContextInternal ;
1718import io .vertx .ext .unit .Async ;
1819import io .vertx .ext .unit .TestContext ;
1920import io .vertx .sqlclient .*;
@@ -385,7 +386,7 @@ public void testWithPropagatableConnectionTransactionCommit(TestContext ctx) {
385386 .execute ()
386387 .onComplete (ctx .asyncAssertSuccess (rows -> {
387388 ctx .assertEquals (3 , rows .size ());
388- ctx .assertNull (Vertx .currentContext ().getLocal ("propagatable_connection" ));
389+ ctx .assertNull ((( ContextInternal ) Vertx .currentContext () ).getLocal ("propagatable_connection" ));
389390 async .complete ();
390391 }))));
391392 });
@@ -406,7 +407,7 @@ public void testWithPropagatableConnectionTransactionRollback(TestContext ctx) {
406407 .execute ()
407408 .onComplete (ctx .asyncAssertSuccess (rows -> {
408409 ctx .assertEquals (0 , rows .size ());
409- ctx .assertNull (Vertx .currentContext ().getLocal ("propagatable_connection" ));
410+ ctx .assertNull ((( ContextInternal ) Vertx .currentContext () ).getLocal ("propagatable_connection" ));
410411 async .complete ();
411412 }))));
412413 });
You can’t perform that action at this time.
0 commit comments