File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
hibernate-reactive-core/src/test/java/org/hibernate/reactive/schema Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -146,14 +146,13 @@ private void testTemporaryIdTablesCreationAndDropping(
146146 int expectedTempTablesDropped ,
147147 VertxTestContext context ) {
148148 test ( context , setupSessionFactory ( configure )
149- .thenCompose ( v -> getSessionFactory (). withSession ( s -> {
149+ .thenAccept ( v -> {
150150 dialect [0 ] = getDialect ();
151151 assertThat ( commandsCount ( dialect [0 ].getTemporaryTableCreateCommand () ) )
152152 .as ( "Unexpected number of temporary tables for ids CREATED" )
153153 .isEqualTo ( expectedTempTablesCreated );
154154 sqlStatementTracker .clear ();
155- return voidFuture ();
156- } ) )
155+ } )
157156 // to ensure the factory is always closed even in case of exceptions
158157 .handle ( CompletionStages ::handle )
159158 .thenCompose ( this ::closeFactory )
You can’t perform that action at this time.
0 commit comments