Skip to content

Commit

Permalink
Small adjustment [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
edrdo committed May 10, 2017
1 parent d450de7 commit 819ef4d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/test/java/org/jdbdt/mysql/MySQLSuite.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,14 @@ public static void teardown() {
private static MysqldResource engine;

private static String startDatabase() {
engine = new MysqldResource(DB_PATH);

Map<String,String> args = new HashMap<>();
args.put(MysqldResourceI.PORT, Integer.toString(DB_PORT));
args.put(MysqldResourceI.INITIALIZE_USER, "true");
args.put(MysqldResourceI.INITIALIZE_USER_NAME, DB_USER);
args.put(MysqldResourceI.INITIALIZE_PASSWORD, DB_PASS);

engine = new MysqldResource(DB_PATH);
engine.start("jdbdt-mysqld-thread", args);

if (!engine.isRunning()) {
Expand Down

0 comments on commit 819ef4d

Please sign in to comment.