Skip to content

Commit 7cff08e

Browse files
committed
Fix JdbcJobRepositoryLegacySchemaIntegrationTests
1 parent 80e4349 commit 7cff08e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

spring-batch-core/src/test/java/org/springframework/batch/core/repository/support/JdbcJobRepositoryLegacySchemaIntegrationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ public class JdbcJobRepositoryLegacySchemaIntegrationTests extends AbstractJobRe
4949
@BeforeEach
5050
public void setUp() throws Exception {
5151
try (Connection connection = dataSource.getConnection()) {
52+
ScriptUtils.executeSqlScript(connection,
53+
new FileSystemResource("src/test/resources/schema-drop-hsqldb-legacy.sql"));
5254
ScriptUtils.executeSqlScript(connection,
5355
new FileSystemResource("src/test/resources/schema-hsqldb-legacy.sql"));
5456
}

0 commit comments

Comments
 (0)