Use dedicated accounts for connection string tests

This commit is contained in:
Asier Isayas
2026-09-16 13:18:11 -07:00
parent 3e6bf226ad
commit d764cb22fb
6 changed files with 43 additions and 40 deletions
+2 -2
View File
@@ -7,8 +7,8 @@ import {
ONE_MINUTE_MS,
TestAccount,
generateUniqueName,
getAccountName,
getAzureCLICredentials,
getConnectionStringAccountName,
resourceGroupName,
subscriptionId,
} from "../fx";
@@ -44,7 +44,7 @@ test.describe("Cassandra account using connection string login", () => {
test.beforeAll("Seed Test Keyspace", async () => {
const credentials = getAzureCLICredentials();
armClient = new CosmosDBManagementClient(credentials, subscriptionId);
accountName = getAccountName(TestAccount.Cassandra);
accountName = getConnectionStringAccountName(TestAccount.Cassandra);
const { connectionStrings = [] } = await armClient.databaseAccounts.listConnectionStrings(
resourceGroupName,