File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/test/java/org/elasticsearch/action/admin/cluster/stats Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -140,8 +140,7 @@ public void testValuesSmokeScreen() {
140
140
// 0 happens when not supported on platform
141
141
assertThat (response .nodesStats .getProcess ().getAvgOpenFileDescriptors (), Matchers .greaterThanOrEqualTo (0L ));
142
142
// these can be -1 if not supported on platform
143
- assertThat (response .nodesStats .getProcess ().getMinOpenFileDescriptors (), Matchers .greaterThan (-1L ));
144
- assertThat (response .nodesStats .getProcess ().getMaxOpenFileDescriptors (), Matchers .greaterThan (-1L ));
145
-
143
+ assertThat (response .nodesStats .getProcess ().getMinOpenFileDescriptors (), Matchers .greaterThanOrEqualTo (-1L ));
144
+ assertThat (response .nodesStats .getProcess ().getMaxOpenFileDescriptors (), Matchers .greaterThanOrEqualTo (-1L ));
146
145
}
147
146
}
You can’t perform that action at this time.
0 commit comments