Skip to content

Commit 865304d

Browse files
committed
fix: h2 inmemory database to pass CI
1 parent 1fda840 commit 865304d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dao-factory/src/test/java/com/iluwatar/daofactory/H2CustomerDAOTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
/** Tests {@link H2CustomerDAO} */
2424
public class H2CustomerDAOTest {
25-
private final String DB_URL = "jdbc:h2:~/test";
25+
private final String DB_URL = "jdbc:h2:mem:testdb;DB_CLOSE_DELAY=-1";
2626
private final String USER = "sa";
2727
private final String PASS = "";
2828
private final String CREATE_SCHEMA =

0 commit comments

Comments
 (0)