mirror of https://github.com/apache/jclouds.git
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:
parent
f6a7a1bd4c
commit
fd08265c67
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue