Mute tests failing on Debian 8 due to memory reporting (#66648)
This commit is contained in:
parent
a4d5e36905
commit
df8c92cfef
|
@ -123,3 +123,5 @@ This is a possible response:
|
|||
// TESTRESPONSE[s/"version": "7.0.0",/"version": "$body.native_code.version",/]
|
||||
// TESTRESPONSE[s/"build_hash": "99a07c016d5a73"/"build_hash": "$body.native_code.build_hash"/]
|
||||
// TESTRESPONSE[s/"effective_max_model_memory_limit": "28961mb"/"effective_max_model_memory_limit": "$body.limits.effective_max_model_memory_limit"/]
|
||||
// TESTRESPONSE[s/"total_ml_memory": "86883mb"/"total_ml_memory": "$body.limits.total_ml_memory"/]
|
||||
// TESTRESPONSE[skip:"AwaitsFix https://github.com/elastic/elasticsearch/issues/66629"]
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
---
|
||||
"cluster stats test":
|
||||
- skip:
|
||||
version: "all"
|
||||
reason: "https://github.com/elastic/elasticsearch/issues/66629"
|
||||
|
||||
- do:
|
||||
cluster.stats: {}
|
||||
|
||||
|
@ -33,8 +37,10 @@
|
|||
---
|
||||
"get cluster stats returns cluster_uuid at the top level":
|
||||
- skip:
|
||||
version: " - 6.99.99"
|
||||
reason: "cluster stats including cluster_uuid at the top level is new in v6.5.0 and higher"
|
||||
version: "all"
|
||||
reason: "https://github.com/elastic/elasticsearch/issues/66629"
|
||||
#version: " - 6.99.99"
|
||||
#reason: "cluster stats including cluster_uuid at the top level is new in v6.5.0 and higher"
|
||||
|
||||
- do:
|
||||
cluster.stats: {}
|
||||
|
|
|
@ -19,17 +19,6 @@
|
|||
|
||||
package org.elasticsearch.monitor.os;
|
||||
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import static org.hamcrest.Matchers.allOf;
|
||||
import static org.hamcrest.Matchers.anyOf;
|
||||
import static org.hamcrest.Matchers.both;
|
||||
|
@ -40,6 +29,17 @@ import static org.hamcrest.Matchers.is;
|
|||
import static org.hamcrest.Matchers.lessThanOrEqualTo;
|
||||
import static org.hamcrest.Matchers.notNullValue;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.math.BigInteger;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.apache.lucene.util.Constants;
|
||||
import org.elasticsearch.test.ESTestCase;
|
||||
|
||||
public class OsProbeTests extends ESTestCase {
|
||||
|
||||
public void testOsInfo() throws IOException {
|
||||
|
@ -84,6 +84,7 @@ public class OsProbeTests extends ESTestCase {
|
|||
assertThat(info.getAvailableProcessors(), equalTo(Runtime.getRuntime().availableProcessors()));
|
||||
}
|
||||
|
||||
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/66629")
|
||||
public void testOsStats() {
|
||||
final OsProbe osProbe = new OsProbe();
|
||||
OsStats stats = osProbe.osStats();
|
||||
|
|
Loading…
Reference in New Issue