sleep inconsistency window after bucket creation

git-svn-id: http://jclouds.googlecode.com/svn/trunk@1473 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
adrian.f.cole 2009-06-27 18:27:15 +00:00
parent f6a7a1bd4c
commit fd08265c67
1 changed files with 3 additions and 0 deletions

View File

@ -272,6 +272,7 @@ public class S3IntegrationTest {
deleteBucket(scratchBucket);
String newScratchBucket = bucketPrefix + (++bucketIndex);
createBucketAndEnsureEmpty(newScratchBucket);
Thread.sleep(INCONSISTENCY_WINDOW);
returnBucket(newScratchBucket);
}
}
@ -297,6 +298,7 @@ public class S3IntegrationTest {
bucketNames.put(bucketName);
createBucketAndEnsureEmpty(bucketName);
}
Thread.sleep(INCONSISTENCY_WINDOW);
}
}
}
@ -361,6 +363,7 @@ public class S3IntegrationTest {
deleteBucket(bucketName);
client.putBucketIfNotExists(bucketName, createIn(LocationConstraint.EU)).get(10,
TimeUnit.SECONDS);
Thread.sleep(INCONSISTENCY_WINDOW);
return bucketName;
}