Skip to content

Commit 53f814b

Browse files
committed
Mute tests failing on Debian 8 due to memory reporting (elastic#66648)
See elastic#66629 for details
1 parent 1748ef6 commit 53f814b

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

docs/reference/ml/anomaly-detection/apis/get-ml-info.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,4 @@ This is a possible response:
126126
// TESTRESPONSE[s/"build_hash": "99a07c016d5a73"/"build_hash": "$body.native_code.build_hash"/]
127127
// TESTRESPONSE[s/"effective_max_model_memory_limit": "28961mb"/"effective_max_model_memory_limit": "$body.limits.effective_max_model_memory_limit"/]
128128
// TESTRESPONSE[s/"total_ml_memory": "86883mb"/"total_ml_memory": "$body.limits.total_ml_memory"/]
129+
// TESTRESPONSE[skip:"AwaitsFix https://github.com/elastic/elasticsearch/issues/66629"]

rest-api-spec/src/main/resources/rest-api-spec/test/cluster.stats/10_basic.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
---
22
"cluster stats test":
3+
- skip:
4+
version: "all"
5+
reason: "https://github.com/elastic/elasticsearch/issues/66629"
6+
37
- do:
48
cluster.stats: {}
59

@@ -33,8 +37,10 @@
3337
---
3438
"get cluster stats returns cluster_uuid at the top level":
3539
- skip:
36-
version: " - 6.99.99"
37-
reason: "cluster stats including cluster_uuid at the top level is new in v6.5.0 and higher"
40+
version: "all"
41+
reason: "https://github.com/elastic/elasticsearch/issues/66629"
42+
#version: " - 6.99.99"
43+
#reason: "cluster stats including cluster_uuid at the top level is new in v6.5.0 and higher"
3844

3945
- do:
4046
cluster.stats: {}

server/src/test/java/org/elasticsearch/monitor/os/OsProbeTests.java

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,6 @@
1919

2020
package org.elasticsearch.monitor.os;
2121

22-
import org.apache.lucene.util.Constants;
23-
import org.elasticsearch.test.ESTestCase;
24-
25-
import java.io.IOException;
26-
import java.math.BigInteger;
27-
import java.util.Arrays;
28-
import java.util.Collections;
29-
import java.util.List;
30-
import java.util.Locale;
31-
import java.util.stream.Collectors;
32-
3322
import static org.hamcrest.Matchers.allOf;
3423
import static org.hamcrest.Matchers.anyOf;
3524
import static org.hamcrest.Matchers.both;
@@ -40,6 +29,17 @@
4029
import static org.hamcrest.Matchers.lessThanOrEqualTo;
4130
import static org.hamcrest.Matchers.notNullValue;
4231

32+
import java.io.IOException;
33+
import java.math.BigInteger;
34+
import java.util.Arrays;
35+
import java.util.Collections;
36+
import java.util.List;
37+
import java.util.Locale;
38+
import java.util.stream.Collectors;
39+
40+
import org.apache.lucene.util.Constants;
41+
import org.elasticsearch.test.ESTestCase;
42+
4343
public class OsProbeTests extends ESTestCase {
4444

4545
public void testOsInfo() throws IOException {
@@ -84,6 +84,7 @@ List<String> readOsRelease() throws IOException {
8484
assertThat(info.getAvailableProcessors(), equalTo(Runtime.getRuntime().availableProcessors()));
8585
}
8686

87+
@AwaitsFix(bugUrl = "https://github.com/elastic/elasticsearch/issues/66629")
8788
public void testOsStats() {
8889
final OsProbe osProbe = new OsProbe();
8990
OsStats stats = osProbe.osStats();

0 commit comments

Comments
 (0)