Skip to content

Commit

Permalink
Polish
Browse files Browse the repository at this point in the history
The use of the file's absolute path caused test failures on Windows.

See gh-26682
  • Loading branch information
wilkinsona committed Jun 8, 2021
1 parent c521437 commit 8df6392
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -39,7 +39,7 @@ class R2dbcScriptDatabaseInitializerTests extends AbstractScriptDatabaseInitiali
.build();

private final ConnectionFactory standaloneConnectionFactory = ConnectionFactoryBuilder.withUrl("r2dbc:h2:file:///"
+ new BuildOutput(R2dbcScriptDatabaseInitializerTests.class).getRootLocation().getAbsolutePath() + "/"
+ new BuildOutput(R2dbcScriptDatabaseInitializerTests.class).getRootLocation().toURI().getPath()
+ UUID.randomUUID() + "?options=DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE").build();

@Override
Expand Down

0 comments on commit 8df6392

Please sign in to comment.