Fix ci mode
This commit is contained in:
parent
c467d5f2ba
commit
32300d63ac
@ -2,6 +2,7 @@ package it.cavallium.dbengine;
|
||||
|
||||
import static it.cavallium.dbengine.DbTestUtils.destroyAllocator;
|
||||
import static it.cavallium.dbengine.DbTestUtils.ensureNoLeaks;
|
||||
import static it.cavallium.dbengine.DbTestUtils.isCIMode;
|
||||
import static it.cavallium.dbengine.DbTestUtils.newAllocator;
|
||||
import static it.cavallium.dbengine.DbTestUtils.tempDb;
|
||||
import static it.cavallium.dbengine.DbTestUtils.tempDictionary;
|
||||
@ -36,7 +37,9 @@ public abstract class TestDictionary {
|
||||
|
||||
@AfterEach
|
||||
public void afterEach() {
|
||||
ensureNoLeaks(allocator.allocator(), true, false);
|
||||
if (!isCIMode()) {
|
||||
ensureNoLeaks(allocator.allocator(), true, false);
|
||||
}
|
||||
destroyAllocator(allocator);
|
||||
}
|
||||
|
||||
|
@ -88,7 +88,7 @@ public abstract class TestDictionaryMap {
|
||||
|
||||
@AfterEach
|
||||
public void afterEach() {
|
||||
if (checkLeaks) {
|
||||
if (!isCIMode() && checkLeaks) {
|
||||
ensureNoLeaks(allocator.allocator(), true, false);
|
||||
}
|
||||
destroyAllocator(allocator);
|
||||
|
@ -166,7 +166,7 @@ public abstract class TestDictionaryMapDeep {
|
||||
|
||||
@AfterEach
|
||||
public void afterEach() {
|
||||
if (checkLeaks) {
|
||||
if (!isCIMode() && checkLeaks) {
|
||||
ensureNoLeaks(allocator.allocator(), true, false);
|
||||
}
|
||||
destroyAllocator(allocator);
|
||||
|
@ -108,7 +108,7 @@ public abstract class TestDictionaryMapDeepHashMap {
|
||||
|
||||
@AfterEach
|
||||
public void afterEach() {
|
||||
if (checkLeaks) {
|
||||
if (!isCIMode() && checkLeaks) {
|
||||
ensureNoLeaks(allocator.allocator(), true, false);
|
||||
}
|
||||
destroyAllocator(allocator);
|
||||
|
Loading…
Reference in New Issue
Block a user