mirror of https://github.com/apache/jclouds.git
The percentage of used capacity can be 0 in test
This commit is contained in:
parent
3ccea7282b
commit
6f0b420a1d
|
@ -45,7 +45,7 @@ public class GlobalCapacityClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
for (Capacity capacity : response) {
|
||||
assertTrue(capacity.getCapacityTotal() > 0);
|
||||
assertTrue(capacity.getCapacityUsed() > 0);
|
||||
assertTrue(capacity.getPercentUsed() > 0);
|
||||
assertTrue(capacity.getPercentUsed() >= 0);
|
||||
assertTrue(capacity.getType() != Capacity.Type.UNRECOGNIZED);
|
||||
assertNotNull(capacity.getZoneName());
|
||||
count++;
|
||||
|
|
Loading…
Reference in New Issue