Skip to content

Commit 3359f2a

Browse files
try with initialization on every class
1 parent 849d255 commit 3359f2a

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/test/java/org/ogo/test/datastructuretests/DataStructureTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,18 @@
66
import org.ogo.client.OGO;
77

88
public abstract class DataStructureTest {
9-
private static boolean queryEngineInitialized = false;
109

1110
/**
1211
* @since 0.1.0
1312
*/
1413
@BeforeAll
1514
public static void initQueryEngine() throws InterruptedException, IOException, NotBoundException {
16-
if (queryEngineInitialized) {
17-
return;
18-
}
1915
Thread.sleep(5000);
2016
OGO.init();
2117
OGO.setWhiteList("ogo/test", "java/util");
2218
OGO.clearDatabase = true;
2319
OGO.forceGC = true;
2420
OGO.followRoot = true;
2521
OGO.whitelist = true;
26-
queryEngineInitialized = true;
2722
}
2823
}

0 commit comments

Comments
 (0)