mirror of https://github.com/apache/jclouds.git
Add extra test for getVolume
This commit is contained in:
parent
42a2cc73e4
commit
7a2c6c6edd
|
@ -108,6 +108,11 @@ public class VolumeClientLiveTest extends BaseCloudStackClientLiveTest {
|
|||
}
|
||||
}
|
||||
|
||||
public void testGetVolumeNonexistantId() {
|
||||
Volume found = client.getVolumeClient().getVolume(-1);
|
||||
assertNull(found);
|
||||
}
|
||||
|
||||
public void testCreateVolumeFromDiskofferingInZoneAndDeleteVolume() {
|
||||
// Pick some disk offering
|
||||
long diskOfferingId = Iterables.get(client.getOfferingClient().listDiskOfferings(), 0).getId();
|
||||
|
|
Loading…
Reference in New Issue