> + }
> +
> + @Test(dependsOnMethods = "testCreatePublishZone")
> + public void testCreateAndPublishHttpRedirect() throws Exception {
> + Thread.sleep(dynectApiDelay);
> + Job job = api().scheduleCreate(redirect);
> + assertEquals(job.getStatus(), Status.SUCCESS);
> + assertEquals(api.getJob(job.getId()), job);
> + Zone zone = api.getZoneApi().publish(fqdn);
> + checkZone(zone);
> + getAndVerifyRedirect(redirectName, 302, "Y", "http://foo.com/");
> + }
> +
> + @Test(dependsOnMethods = "testCreateAndPublishHttpRedirect")
> + public void testUpdateAndPublishHttpRedirect() throws Exception {
> + Thread.sleep(dynectApiDelay);
To @nacx's comment about delays...what precisely are we waiting on here? Is
there some way we can poll for the necessary condition rather than simply wait?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/37/files#r5013150