> @@ -66,4 +67,14 @@ public void testDeleteItemFromMetadata() {
>        assertEquals(project.commonInstanceMetadata().size(), 
> initialMetadataSize);
>        assertEquals(project.commonInstanceMetadata().fingerprint(), 
> initialFingerprint);
>     }
> +
> +   @Test(groups = "live", dependsOnMethods = "getProject")
> +   public void testSetUsageExportBucket() {
> +      Operation o = api.project().setUsageExportBucket("test-bucket", 
> "test-");
> +      while (o.error().errors().isEmpty()) {
> +         o = api.operations().get(o.selfLink());
> +      }

This could enter an infinite loop if it was run with the credentials that have 
write access to test-bucket. I figured this was unlikely because bucket names 
are globally unique. 

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/112/files#r21865566

Reply via email to