Make CleanerTests faster by reducing iteration count
This commit is contained in:
parent
987a398700
commit
7fda986d2c
@ -1678,7 +1678,7 @@ public class BufferTest {
|
||||
var initial = NativeMemorySegmentManager.MEM_USAGE_NATIVE.sum();
|
||||
var allocator = fixture.createAllocator();
|
||||
allocator.close();
|
||||
int iterations = 50;
|
||||
int iterations = 15;
|
||||
int allocationSize = 1024;
|
||||
for (int i = 0; i < iterations; i++) {
|
||||
allocateAndForget(allocator, allocationSize);
|
||||
@ -1700,7 +1700,7 @@ public class BufferTest {
|
||||
throws InterruptedException {
|
||||
var initial = NativeMemorySegmentManager.MEM_USAGE_NATIVE.sum();
|
||||
try (var allocator = fixture.createAllocator()) {
|
||||
int iterations = 50;
|
||||
int iterations = 15;
|
||||
int allocationSize = 1024;
|
||||
for (int i = 0; i < iterations; i++) {
|
||||
allocateAndForget(allocator, allocationSize);
|
||||
|
Loading…
x
Reference in New Issue
Block a user