diff --git a/src/test/java/org/elasticsearch/common/jna/NativesTests.java b/src/test/java/org/elasticsearch/common/jna/NativesTests.java index 37725b5b5e8..014a2ce5b27 100644 --- a/src/test/java/org/elasticsearch/common/jna/NativesTests.java +++ b/src/test/java/org/elasticsearch/common/jna/NativesTests.java @@ -32,10 +32,6 @@ public class NativesTests extends ElasticsearchTestCase { if (Constants.MAC_OS_X) { assertFalse("Memory locking is not available on OS X platforms", Natives.LOCAL_MLOCKALL); } - - if (Constants.WINDOWS) { - assertTrue(Natives.LOCAL_MLOCKALL); - } } @Test