> + this.waitUntilAvailable = Predicates2.retry(
> + new ProvisioningStatusPollingPredicate( api,
> ProvisioningStatusAware.STORAGE, ProvisioningState.AVAILABLE ),
> + 6l * 60l, 2l, TimeUnit.SECONDS );
> + }
> +
> + @Test( expectedExceptions = InsufficientResourcesException.class )
> + public void testUberStorage() {
> + api.storageApi().createStorage(
> + Storage.Request.creatingBuilder()
> + .dataCenterId( dataCenter )
> + .name( "Uber Storage" )
> + .size( 9999999f )
> + .build() );
> + }
> +
> + @Test( dependsOnMethods = "testUberStorage" )
There is no need to depend on that test.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/128/files#r23725632