[TEST] Fix incorrect location for greaterThanOrEqual fix
This commit is contained in:
parent
037a7583af
commit
37ba02ab21
|
@ -161,11 +161,11 @@ public class ClusterInfoServiceIT extends ESIntegTestCase {
|
||||||
}
|
}
|
||||||
for (DiskUsage usage : mostUsages.values()) {
|
for (DiskUsage usage : mostUsages.values()) {
|
||||||
logger.info("--> usage: {}", usage);
|
logger.info("--> usage: {}", usage);
|
||||||
assertThat("usage has be retrieved", usage.getFreeBytes(), greaterThanOrEqualTo(0L));
|
assertThat("usage has be retrieved", usage.getFreeBytes(), greaterThan(0L));
|
||||||
}
|
}
|
||||||
for (Long size : shardSizes.values()) {
|
for (Long size : shardSizes.values()) {
|
||||||
logger.info("--> shard size: {}", size);
|
logger.info("--> shard size: {}", size);
|
||||||
assertThat("shard size is greater than 0", size, greaterThan(0L));
|
assertThat("shard size is greater than 0", size, greaterThanOrEqualTo(0L));
|
||||||
}
|
}
|
||||||
ClusterService clusterService = internalTestCluster.getInstance(ClusterService.class, internalTestCluster.getMasterName());
|
ClusterService clusterService = internalTestCluster.getInstance(ClusterService.class, internalTestCluster.getMasterName());
|
||||||
ClusterState state = clusterService.state();
|
ClusterState state = clusterService.state();
|
||||||
|
|
Loading…
Reference in New Issue