mirror of https://github.com/apache/jclouds.git
Supporting uppercase user names in Azure blob live tests
This commit is contained in:
parent
b92892094b
commit
c308bb9bcb
|
@ -87,7 +87,7 @@ public class AzureBlobClientLiveTest extends BaseBlobStoreIntegrationTest {
|
|||
public void testCreateContainer() throws Exception {
|
||||
boolean created = false;
|
||||
while (!created) {
|
||||
privateContainer = prefix + new SecureRandom().nextInt();
|
||||
privateContainer = CONTAINER_PREFIX + new SecureRandom().nextInt();
|
||||
try {
|
||||
created = getApi().createContainer(privateContainer, withMetadata(ImmutableMultimap.of("foo", "bar")));
|
||||
} catch (UndeclaredThrowableException e) {
|
||||
|
@ -111,7 +111,7 @@ public class AzureBlobClientLiveTest extends BaseBlobStoreIntegrationTest {
|
|||
public void testCreatePublicContainer() throws Exception {
|
||||
boolean created = false;
|
||||
while (!created) {
|
||||
publicContainer = prefix + new SecureRandom().nextInt();
|
||||
publicContainer = CONTAINER_PREFIX + new SecureRandom().nextInt();
|
||||
try {
|
||||
created = getApi().createContainer(publicContainer, withPublicAccess(PublicAccess.BLOB));
|
||||
} catch (UndeclaredThrowableException e) {
|
||||
|
@ -353,7 +353,7 @@ public class AzureBlobClientLiveTest extends BaseBlobStoreIntegrationTest {
|
|||
|
||||
@Test(timeOut = 5 * 60 * 1000)
|
||||
public void testBlockOperations() throws Exception {
|
||||
String blockContainer = prefix + new SecureRandom().nextInt();
|
||||
String blockContainer = CONTAINER_PREFIX + new SecureRandom().nextInt();
|
||||
String blockBlob = "myblockblob-" + new SecureRandom().nextInt();
|
||||
String A = "A";
|
||||
String B = "B";
|
||||
|
|
Loading…
Reference in New Issue