mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-24 22:09:24 +00:00
ClusterStatsTests.testValuesSmokeScreen: replace greaterThan with greaterOrEqualThan
This commit is contained in:
parent
b0f73d2625
commit
f58ad85335
@ -139,9 +139,9 @@ public class ClusterStatsTests extends ElasticsearchIntegrationTest {
|
||||
assertThat(response.nodesStats.getProcess().count, Matchers.greaterThan(0));
|
||||
// 0 happens when not supported on platform
|
||||
assertThat(response.nodesStats.getProcess().getAvgOpenFileDescriptors(), Matchers.greaterThanOrEqualTo(0L));
|
||||
// these can be -1 if not supported
|
||||
assertThat(response.nodesStats.getProcess().getMinOpenFileDescriptors(), Matchers.greaterThan(-1L));
|
||||
assertThat(response.nodesStats.getProcess().getMaxOpenFileDescriptors(), Matchers.greaterThan(-1L));
|
||||
// these can be -1 if not supported on platform
|
||||
assertThat(response.nodesStats.getProcess().getMinOpenFileDescriptors(), Matchers.greaterThanOrEqualTo(-1L));
|
||||
assertThat(response.nodesStats.getProcess().getMaxOpenFileDescriptors(), Matchers.greaterThanOrEqualTo(-1L));
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user