Skip to content

Commit 646cb41

Browse files
committed
Fix GathererIT by using create-drop on DDL
1 parent 2e4d86f commit 646cb41

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

gatherer/pom.xml

-1
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@
168168
<dependency>
169169
<groupId>com.h2database</groupId>
170170
<artifactId>h2</artifactId>
171-
<version>2.1.210</version>
172171
</dependency>
173172
<dependency>
174173
<groupId>org.postgresql</groupId>

gatherer/test/pandas/GathererIT.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@
3838
*/
3939
@SpringBootTest(classes = PandasGatherer.class, properties = {
4040
"spring.datasource.url = jdbc:h2:mem:it;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE",
41-
"spring.jpa.properties.hibernate.dialect = pandas.core.PandasH2Dialect",
4241
"heritrix.url = https://localhost:18443/engine",
4342
"heritrix.password = password",
44-
"bamboo.crawlSeriesId = 1"})
43+
"bamboo.crawlSeriesId = 1",
44+
"spring.jpa.hibernate.ddl-auto=create-drop"})
4545
@ContextConfiguration(initializers = GathererIT.Initializer.class)
4646
@MockServerTest("bamboo.url = http://127.0.0.1:${mockServerPort}/bamboo")
4747
public class GathererIT {

0 commit comments

Comments
 (0)