[TEST] Fix incorrect location for greaterThanOrEqual fix

This commit is contained in:
Lee Hinman 2015-09-16 10:10:42 -06:00
parent 037a7583af
commit 37ba02ab21
1 changed files with 2 additions and 2 deletions

View File

@ -161,11 +161,11 @@ public class ClusterInfoServiceIT extends ESIntegTestCase {
}
for (DiskUsage usage : mostUsages.values()) {
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()) {
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());
ClusterState state = clusterService.state();