Skip to content
Snippets Groups Projects
Commit 18765ac6 authored by jakubs's avatar jakubs
Browse files

SP-461 BIS-293: TestInitializer - add option to init empty db with index

SVN: 28065
parent 07615a46
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,11 @@ public class TestInitializer ...@@ -69,6 +69,11 @@ public class TestInitializer
init(IndexMode.NO_INDEX, SCRIPT_FOLDER_EMPTY_DB); init(IndexMode.NO_INDEX, SCRIPT_FOLDER_EMPTY_DB);
} }
public static void initEmptyDbWithIndex()
{
init(IndexMode.SKIP_IF_MARKER_FOUND, SCRIPT_FOLDER_EMPTY_DB);
}
private static boolean firstTry = true; private static boolean firstTry = true;
private static void init(IndexMode hibernateIndexMode, String scriptFolder) private static void init(IndexMode hibernateIndexMode, String scriptFolder)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment