[TEST] Only check if mlockall succeeds on Windows for now
This commit is contained in:
parent
08f7caa56b
commit
852482844c
|
@ -31,7 +31,9 @@ public class NativesTests extends ElasticsearchTestCase {
|
|||
public void testMlockall() {
|
||||
if (Constants.MAC_OS_X) {
|
||||
assertFalse("Memory locking is not available on OS X platforms", Natives.LOCAL_MLOCKALL);
|
||||
} else {
|
||||
}
|
||||
|
||||
if (Constants.WINDOWS) {
|
||||
assertTrue(Natives.LOCAL_MLOCKALL);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue