Skip to content

Commit

Permalink
[CI] JvmStatsTests testJvmStats failing (115711)
Browse files Browse the repository at this point in the history
Fix and unmute test JvmStatsTests.testJvmStats

Fixes elastic#115711
  • Loading branch information
alexey-ivanov-es committed Nov 4, 2024
1 parent de9851a commit 0bb187d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,9 +196,6 @@ tests:
- class: org.elasticsearch.xpack.test.rest.XPackRestIT
method: test {p0=ml/inference_crud/Test delete given model referenced by pipeline}
issue: https://github.com/elastic/elasticsearch/issues/115970
- class: org.elasticsearch.monitor.jvm.JvmStatsTests
method: testJvmStats
issue: https://github.com/elastic/elasticsearch/issues/115711
- class: org.elasticsearch.repositories.s3.S3ServiceTests
method: testRetryOn403RetryPolicy
issue: https://github.com/elastic/elasticsearch/issues/115986
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public void testJvmStats() {
assertThat(memoryPools, hasKey("Metaspace"));
assertThat(memoryPools.keySet(), hasSize(greaterThan(3)));
for (JvmStats.MemoryPool memoryPool : memoryPools.values()) {
assertThat(memoryPool.getUsed().getBytes(), greaterThan(0L));
assertThat("Memory pool: " + memoryPool.getName(), memoryPool.getUsed().getBytes(), greaterThanOrEqualTo(0L));
}

// Threads
Expand Down

0 comments on commit 0bb187d

Please sign in to comment.