mirror of
https://github.com/apache/jclouds.git
synced 2025-02-10 03:56:27 +00:00
The percentage of used capacity can be 0 in test
This commit is contained in:
parent
7719dad8d0
commit
043e235369
@ -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…
x
Reference in New Issue
Block a user