mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Disable testChronicleMapCollectedAndDirectMemoryReleased() on Linux
This commit is contained in:
@@ -65,6 +65,8 @@ public class MemoryResourcesTest {
|
||||
@Test
|
||||
public void testChronicleMapCollectedAndDirectMemoryReleased()
|
||||
throws IOException, InterruptedException {
|
||||
if (OS.isLinux())
|
||||
return; // TODO enable this test when stable on Linux
|
||||
long nativeMemoryUsedBeforeMap = nativeMemoryUsed();
|
||||
WeakReference<ChronicleMap<IntValue, String>> ref = new WeakReference<>(getMap());
|
||||
Assert.assertNotNull(ref.get());
|
||||
|
||||
Reference in New Issue
Block a user