Skip to content

Commit 8d0feab

Browse files
Tests: do not trigger GC or finalization, tests should clean up properly
1 parent 4207508 commit 8d0feab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/objectbox-java-test/src/test/java/io/objectbox/AbstractObjectBoxTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,6 @@ protected Box<TestEntity> getTestEntityBox() {
162162

163163
@After
164164
public void tearDown() {
165-
// Collect dangling Cursors and TXs before store closes
166-
System.gc();
167-
System.runFinalization();
168-
169165
if (store != null) {
170166
try {
171167
store.close();

0 commit comments

Comments
 (0)