mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[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…
x
Reference in New Issue
Block a user