> + assertNotNull(targetPool);
> + assertEquals(targetPool.getName(), THIRD_TARGETPOOL_NAME);
> + assertEquals(targetPool.getBackupPool(), fromNullable(null));
> +
> + URI selfLink = api().get(TARGETPOOL_NAME).getSelfLink();
> +
> + Float failoverRatio = Float.valueOf((float) 0.5);
> + assertRegionOperationDoneSucessfully(api().setBackup(THIRD_TARGETPOOL_NAME, failoverRatio,
selfLink), TIME_WAIT);
> +
> + TargetPool targetPoolUpdated = api().get(THIRD_TARGETPOOL_NAME);
> + assertNotNull(targetPoolUpdated);
> + assertEquals(targetPoolUpdated.getName(), THIRD_TARGETPOOL_NAME);
> + assertEquals(targetPoolUpdated.getBackupPool(), fromNullable(selfLink));
> + }
> +
> + @Test(groups = "live", dependsOnMethods = {"testListTargetPool",
hmmm :)
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/71/files#r19697128
|