> @@ -112,11 +111,8 @@ public void testListJobs() {
>  
>     @Test(groups = {"live", "livelong", "longtest"}, dependsOnMethods = 
> {"testInitiateJob", "testDescribeJob", "testListJobs"})
>     public void testWaitForSucceed() throws InterruptedException {
> -      Thread.sleep(INITIAL_WAIT);
> -      while (api.describeJob(VAULT_NAME, 
> archiveRetrievalJob).getStatusCode() == JobStatus.IN_PROGRESS ||
> -            api.describeJob(VAULT_NAME, 
> inventoryRetrievalJob).getStatusCode() == JobStatus.IN_PROGRESS) {
> -         Thread.sleep(TIME_BETWEEN_POLLS);
> -      }
> +      new BasePollingStrategy(api).waitForSuccess(VAULT_NAME, 
> archiveRetrievalJob);

It does, that test is part of the long test group and has its own test profile.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-aws/pull/44/files#r15728170

Reply via email to