Mark EvilJNANativesTests as awaiting fixes

This commit marks the EvilJNANativesTests as awaiting fixes due to these
tests failing on platforms that do not provide at least version 2.14 of
glibc.
This commit is contained in:
Jason Tedor 2017-03-18 11:29:15 -04:00
parent 73097f55e7
commit 23f0bf6b68
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ import static org.hamcrest.Matchers.greaterThanOrEqualTo;
public class EvilJNANativesTests extends ESTestCase {
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/23640")
public void testSetMaximumNumberOfThreads() throws IOException {
if (Constants.LINUX) {
final List<String> lines = Files.readAllLines(PathUtils.get("/proc/self/limits"));
@ -55,6 +56,7 @@ public class EvilJNANativesTests extends ESTestCase {
}
}
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/23640")
public void testSetMaxSizeVirtualMemory() throws IOException {
if (Constants.LINUX) {
final List<String> lines = Files.readAllLines(PathUtils.get("/proc/self/limits"));