mirror of
https://github.com/apache/jclouds.git
synced 2025-02-09 11:35:41 +00:00
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 {
|
public void testCreateContainer() throws Exception {
|
||||||
boolean created = false;
|
boolean created = false;
|
||||||
while (!created) {
|
while (!created) {
|
||||||
privateContainer = prefix + new SecureRandom().nextInt();
|
privateContainer = CONTAINER_PREFIX + new SecureRandom().nextInt();
|
||||||
try {
|
try {
|
||||||
created = getApi().createContainer(privateContainer, withMetadata(ImmutableMultimap.of("foo", "bar")));
|
created = getApi().createContainer(privateContainer, withMetadata(ImmutableMultimap.of("foo", "bar")));
|
||||||
} catch (UndeclaredThrowableException e) {
|
} catch (UndeclaredThrowableException e) {
|
||||||
@ -111,7 +111,7 @@ public class AzureBlobClientLiveTest extends BaseBlobStoreIntegrationTest {
|
|||||||
public void testCreatePublicContainer() throws Exception {
|
public void testCreatePublicContainer() throws Exception {
|
||||||
boolean created = false;
|
boolean created = false;
|
||||||
while (!created) {
|
while (!created) {
|
||||||
publicContainer = prefix + new SecureRandom().nextInt();
|
publicContainer = CONTAINER_PREFIX + new SecureRandom().nextInt();
|
||||||
try {
|
try {
|
||||||
created = getApi().createContainer(publicContainer, withPublicAccess(PublicAccess.BLOB));
|
created = getApi().createContainer(publicContainer, withPublicAccess(PublicAccess.BLOB));
|
||||||
} catch (UndeclaredThrowableException e) {
|
} catch (UndeclaredThrowableException e) {
|
||||||
@ -353,7 +353,7 @@ public class AzureBlobClientLiveTest extends BaseBlobStoreIntegrationTest {
|
|||||||
|
|
||||||
@Test(timeOut = 5 * 60 * 1000)
|
@Test(timeOut = 5 * 60 * 1000)
|
||||||
public void testBlockOperations() throws Exception {
|
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 blockBlob = "myblockblob-" + new SecureRandom().nextInt();
|
||||||
String A = "A";
|
String A = "A";
|
||||||
String B = "B";
|
String B = "B";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user