> +      if (zone == null) {
> +         Job job = api.getZoneApi().scheduleCreateWithContact(fqdn, contact);
> +         checkNotNull(job, "unable to create zone %s", fqdn);
> +         getAnonymousLogger().info("created zone: " + job);
> +         assertEquals(job.getStatus(), Status.SUCCESS);
> +         assertEquals(api.getJob(job.getId()), job);
> +         zone = api.getZoneApi().publish(fqdn);
> +         checkNotNull(zone, "unable to publish zone %s", fqdn);
> +         getAnonymousLogger().info("published zone: " + zone);
> +      }
> +      checkZone(zone);
> +   }
> +
> +   @Test(dependsOnMethods = "testCreatePublishZone")
> +   public void testCreateAndPublishHttpRedirect() throws Exception {
> +      Thread.sleep(3000); // FIXME - figure out delays

Just curious...what's the problem here? Timeouts if we don't add this sleep? 
Any chance we could make this delay parameter configurable?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/37/files#r4772880

Reply via email to