@@ -82,14 +82,14 @@ protected void setUp() throws Exception {
82
82
83
83
protected void updateStorePrefix ()
84
84
{
85
- storePrefix = System . currentTimeMillis () ;
85
+ storePrefix ++ ;
86
86
}
87
87
88
88
/**
89
89
* Configurable options for text cases, with or without deleting the previous database, and with
90
90
* or without using the BatchInserter for higher creation speeds. Note that tests that need to
91
91
* delete nodes or use transactions should not use the BatchInserter.
92
- *
92
+ *
93
93
* @param deleteDb
94
94
* @param useBatchInserter
95
95
* @throws Exception
@@ -102,7 +102,7 @@ protected void setUp(boolean deleteDb, boolean useBatchInserter, boolean autoTx)
102
102
/**
103
103
* For test cases that want to control their own database access, we should
104
104
* shutdown the current one.
105
- *
105
+ *
106
106
* @param deleteDb
107
107
*/
108
108
protected void shutdownDatabase (boolean deleteDb ) {
@@ -126,13 +126,13 @@ protected void shutdownDatabase(boolean deleteDb) {
126
126
* Some tests require switching between normal EmbeddedGraphDatabase and BatchInserter, so we
127
127
* allow that with this method. We also allow deleting the previous database, if that is desired
128
128
* (probably only the first time this is called).
129
- *
129
+ *
130
130
* @param deleteDb
131
131
* @param useBatchInserter
132
132
* @throws Exception
133
133
*/
134
134
protected void reActivateDatabase (boolean deleteDb , boolean useBatchInserter , boolean autoTx ) throws Exception {
135
- shutdownDatabase (deleteDb );
135
+ shutdownDatabase ( deleteDb );
136
136
Map <String , String > config = NORMAL_CONFIG ;
137
137
String largeMode = System .getProperty ("spatial.test.large" );
138
138
if (largeMode != null && largeMode .equalsIgnoreCase ("true" )) {
@@ -153,7 +153,7 @@ protected void reActivateDatabase(boolean deleteDb, boolean useBatchInserter, bo
153
153
@ Override
154
154
@ After
155
155
protected void tearDown () throws Exception {
156
- shutdownDatabase (true );
156
+ shutdownDatabase ( true );
157
157
super .tearDown ();
158
158
}
159
159
0 commit comments