Skip to content

Commit

Permalink
uses isolated db file
Browse files Browse the repository at this point in the history
Signed-off-by: tison <[email protected]>
  • Loading branch information
tisonkun committed Sep 27, 2022
1 parent e658819 commit 295db3c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
*/
@Slf4j
public class SqliteJdbcSinkTest {
private final SqliteUtils sqliteUtils = new SqliteUtils(UUID.randomUUID().toString());
private SqliteUtils sqliteUtils;
private BaseJdbcAutoSchemaSink jdbcSink;
private final String tableName = "TestOpenAndWriteSink";

Expand All @@ -80,6 +80,7 @@ public static class Foo {

@BeforeMethod(alwaysRun = true)
public void setUp() throws Exception {
sqliteUtils = new SqliteUtils(UUID.randomUUID().toString());
sqliteUtils.setUp();
sqliteUtils.createTable(
"CREATE TABLE " + tableName + "(" +
Expand Down

0 comments on commit 295db3c

Please sign in to comment.