From ae88645cb0a4fbd9567ff9297cd23c8713aec7a7 Mon Sep 17 00:00:00 2001 From: Brandon Siegel Date: Thu, 3 Sep 2020 15:45:58 -0700 Subject: [PATCH] Fix tables livetest --- sdk/tables/test-resources.json | 2 +- sdk/tables/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/tables/test-resources.json b/sdk/tables/test-resources.json index 3bf759d1ef6b4..892cacaa36e29 100644 --- a/sdk/tables/test-resources.json +++ b/sdk/tables/test-resources.json @@ -97,7 +97,7 @@ "outputs": { "AZURE_TABLES_CONNECTION_STRING": { "type": "string", - "value": "[if(equals(parameters('endpointType'), 'storage'), concat('DefaultEndpointsProtocol=https;AccountName=', variables('primaryAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('primaryAccountName')), variables('mgmtApiVersion')).keys[0].value, ';EndpointSuffix=core.windows.net/;'), concat('DefaultEndpointsProtocol=https;AccountName=', variables('primaryAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.DocumentDB/databaseAccounts', variables('primaryAccountName')), variables('mgmtApiVersion')).primaryMasterKey, ';EndpointSuffix=cosmos.azure.com:443/;'))]", + "value": "[if(equals(parameters('endpointType'), 'storage'), concat('DefaultEndpointsProtocol=https;AccountName=', variables('primaryAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('primaryAccountName')), variables('mgmtApiVersion')).keys[0].value, ';EndpointSuffix=core.windows.net/;'), concat('DefaultEndpointsProtocol=https;AccountName=', variables('primaryAccountName'), ';AccountKey=', listKeys(resourceId('Microsoft.DocumentDB/databaseAccounts', variables('primaryAccountName')), '2020-04-01').primaryMasterKey, ';EndpointSuffix=cosmos.azure.com:443/;'))]", } } } diff --git a/sdk/tables/tests.yml b/sdk/tables/tests.yml index 21d1775c0ed5c..3a0718ed492a2 100644 --- a/sdk/tables/tests.yml +++ b/sdk/tables/tests.yml @@ -7,7 +7,7 @@ jobs: Timeout: 60 MaxParallel: 12 EnvVars: - AZURE_TEST_MODE: LIVE + AZURE_TEST_MODE: RECORD Artifacts: - name: azure-data-tables groupId: com.azure