Skip to content

Commit fa831c8

Browse files
committed
OAK-11506 Update oak-segment-azure tools to use azure sdk v12 implementation - PR review change
1 parent dd92fe2 commit fa831c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

oak-run/src/test/java/org/apache/jackrabbit/oak/run/DataStoreCommandTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,16 +1130,16 @@ class AzureSegmentStoreFixture extends SegmentStoreFixture {
11301130

11311131
@Override public NodeStore init(DataStoreBlobStore blobStore, File storeFile) throws Exception {
11321132
Properties props = AzureDataStoreUtils.getAzureConfig();
1133-
String accountName = props.getProperty("accountName");
1133+
String accessKey = props.getProperty(AzureConstants.AZURE_STORAGE_ACCOUNT_NAME);
11341134
String secretKey = props.getProperty(AzureConstants.AZURE_STORAGE_ACCOUNT_KEY);
11351135
container = props.getProperty(AzureConstants.AZURE_BLOB_CONTAINER_NAME);
11361136
container = container + System.currentTimeMillis();
11371137
// Create the azure segment container
1138-
String connectionString = getAzureConnectionString(accountName, secretKey, container, AZURE_DIR);
1139-
AzurePersistenceManager.createAzurePersistence(connectionString, null, accountName, container, AZURE_DIR, false, true);
1138+
String connectionString = getAzureConnectionString(accessKey, secretKey, container, AZURE_DIR);
1139+
AzurePersistenceManager.createAzurePersistence(connectionString, null, accessKey, container, AZURE_DIR, false, true);
11401140

11411141
// get the azure uri expected by the command
1142-
storePath = getAzureUri(accountName, container, AZURE_DIR);
1142+
storePath = getAzureUri(accessKey, container, AZURE_DIR);
11431143

11441144
// initialize azure segment for test setup
11451145
SegmentNodeStorePersistence segmentNodeStorePersistence =

0 commit comments

Comments
 (0)