You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jclouds.apache.org by an...@apache.org on 2014/04/02 01:45:29 UTC

git commit: Supporting uppercase user names in Azure blob live tests

Repository: jclouds
Updated Branches:
  refs/heads/master b92892094 -> c308bb9bc


Supporting uppercase user names in Azure blob live tests


Project: http://git-wip-us.apache.org/repos/asf/jclouds/repo
Commit: http://git-wip-us.apache.org/repos/asf/jclouds/commit/c308bb9b
Tree: http://git-wip-us.apache.org/repos/asf/jclouds/tree/c308bb9b
Diff: http://git-wip-us.apache.org/repos/asf/jclouds/diff/c308bb9b

Branch: refs/heads/master
Commit: c308bb9bcbb9ee615fe22d68a06449dd0af9232e
Parents: b928920
Author: Bhathiya90 <hs...@gmail.com>
Authored: Mon Mar 31 11:31:22 2014 +0530
Committer: Andrew Phillips <an...@apache.org>
Committed: Wed Apr 2 01:43:55 2014 +0200

----------------------------------------------------------------------
 .../java/org/jclouds/azureblob/AzureBlobClientLiveTest.java    | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/jclouds/blob/c308bb9b/providers/azureblob/src/test/java/org/jclouds/azureblob/AzureBlobClientLiveTest.java
----------------------------------------------------------------------
diff --git a/providers/azureblob/src/test/java/org/jclouds/azureblob/AzureBlobClientLiveTest.java b/providers/azureblob/src/test/java/org/jclouds/azureblob/AzureBlobClientLiveTest.java
index 059a282..0550150 100644
--- a/providers/azureblob/src/test/java/org/jclouds/azureblob/AzureBlobClientLiveTest.java
+++ b/providers/azureblob/src/test/java/org/jclouds/azureblob/AzureBlobClientLiveTest.java
@@ -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";