> @@ -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());
> +      }

Just to make sure I understand this test. Is its purpose to test that operation 
errors are reported properly? In other words, can we properly live test the 
`setUsageExportBucket` without having that loop?

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

Reply via email to