Skip to content

Commit

Permalink
[CI] JvmStatsTests testJvmStats failing (elastic#116197)
Browse files Browse the repository at this point in the history
Fix test JvmStatsTests.testJvmStats (backport from main)
Fixes elastic#116197
  • Loading branch information
alexey-ivanov-es committed Nov 7, 2024
1 parent 022be89 commit 8afb79b
Showing 1 changed file with 1 addition and 1 deletion.
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 8afb79b

Please sign in to comment.