Skip to content

Commit

Permalink
Add integration test coverage for H2 to store on disk
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne authored and tmihalac committed Oct 27, 2022
1 parent b7fad84 commit 209fa2d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
quarkus.datasource.db-kind=h2
quarkus.datasource.jdbc.url=jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;LOCK_TIMEOUT=10000
#Test with H2 writing to actual disk, as it provides a superset coverage over testing in memory:
quarkus.datasource.jdbc.url=jdbc:h2:./target/h2.db
quarkus.hibernate-orm.database.generation=drop-and-create
quarkus.datasource.jdbc.max-size=2

0 comments on commit 209fa2d

Please sign in to comment.