Skip to content

Commit 23f5317

Browse files
committed
fixed the tests and uploaded test results
1 parent 0e4394d commit 23f5317

File tree

6 files changed

+20354
-17
lines changed

6 files changed

+20354
-17
lines changed

src/CosmosDB/CosmosDB.Test/ScenarioTests/CassandraOperationsTests.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,8 @@ Test Cassandra Roles cmdlets using all parameter sets
432432
#>
433433
function Test-CassandraRoleCmdlets
434434
{
435-
$AccountName = "managedidentity-cassandra-armtestaccount"
436-
$rgName = "cassandra-connection-demo-livesite"
435+
$AccountName = "yayi-cassandra-test-1"
436+
$rgName = "yayi-test"
437437
$location = "UK South"
438438
$locations = @()
439439
$locations += New-AzCosmosDBLocationObject -LocationName "UK South" -FailoverPriority 0 -IsZoneRedundant 0
@@ -445,10 +445,10 @@ function Test-CassandraRoleCmdlets
445445
$consistencyLevel = "Session"
446446
$UpdatedThroughputValue = 600
447447

448-
$subscriptionId = "2bcd91eb-97a9-4868-bf40-662ce8ef8cb0" #$(getVariable "SubscriptionId")
448+
$subscriptionId = "80be3961-0521-4a0a-8570-5cd5a4e2f98c" #$(getVariable "SubscriptionId")
449449

450-
$PrincipalId = "d006e945-a621-4973-8113-b0a705061e33"
451-
$PrincipalId2 = "5af9fd41-fffc-4c7a-9fd8-bed87ae38ac3"
450+
$PrincipalId = "5059f4fb-8e7e-4f41-9ca0-37bbaea765ea"
451+
$PrincipalId2 = "15859188-ae55-4f6d-8f07-ac19a1ae8e7f"
452452

453453
$RoleName = "roleDefinitionName12"
454454
$RoleName2 = "roleDefinitionName2"

src/CosmosDB/CosmosDB.Test/ScenarioTests/GremlinOperationsTests.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1190,9 +1190,9 @@ Test Gremlin Roles cmdlets using all parameter sets
11901190
#>
11911191
function Test-GremlinRoleCmdlets
11921192
{
1193-
$AccountName = "managedidentity-gremlin-armtestaccount"
1194-
$rgName = "gremlin-connection-demo-livesite"
1195-
$location = "UK South"
1193+
$AccountName = "yayi-gremlin-test-1"
1194+
$rgName = "yayi-test"
1195+
$location = "West US 2"
11961196
$locations = @()
11971197
$locations += New-AzCosmosDBLocationObject -LocationName "UK South" -FailoverPriority 0 -IsZoneRedundant 0
11981198

@@ -1203,10 +1203,10 @@ function Test-GremlinRoleCmdlets
12031203
$consistencyLevel = "Session"
12041204
$UpdatedThroughputValue = 600
12051205

1206-
$subscriptionId = "2bcd91eb-97a9-4868-bf40-662ce8ef8cb0" #$(getVariable "SubscriptionId")
1206+
$subscriptionId = "80be3961-0521-4a0a-8570-5cd5a4e2f98c" #$(getVariable "SubscriptionId")
12071207

1208-
$PrincipalId = "d006e945-a621-4973-8113-b0a705061e33"
1209-
$PrincipalId2 = "5af9fd41-fffc-4c7a-9fd8-bed87ae38ac3"
1208+
$PrincipalId = "5059f4fb-8e7e-4f41-9ca0-37bbaea765ea"
1209+
$PrincipalId2 = "15859188-ae55-4f6d-8f07-ac19a1ae8e7f"
12101210

12111211
$RoleName = "roleDefinitionName12"
12121212
$RoleName2 = "roleDefinitionName2"

src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1348,9 +1348,9 @@ Test MongoMI Roles cmdlets using all parameter sets
13481348
#>
13491349
function Test-MongoMIRoleCmdlets
13501350
{
1351-
$AccountName = "managedidentity-mongoMI-armtestaccount"
1352-
$rgName = "mongoMI-connection-demo-livesite"
1353-
$location = "UK South"
1351+
$AccountName = "yayi-mongomi-test-1"
1352+
$rgName = "yayi-test"
1353+
$location = "West US 2"
13541354
$locations = @()
13551355
$locations += New-AzCosmosDBLocationObject -LocationName "UK South" -FailoverPriority 0 -IsZoneRedundant 0
13561356

@@ -1361,10 +1361,10 @@ function Test-MongoMIRoleCmdlets
13611361
$consistencyLevel = "Session"
13621362
$UpdatedThroughputValue = 600
13631363

1364-
$subscriptionId = "2bcd91eb-97a9-4868-bf40-662ce8ef8cb0" #$(getVariable "SubscriptionId")
1364+
$subscriptionId = "80be3961-0521-4a0a-8570-5cd5a4e2f98c" #$(getVariable "SubscriptionId")
13651365

1366-
$PrincipalId = "d006e945-a621-4973-8113-b0a705061e33"
1367-
$PrincipalId2 = "5af9fd41-fffc-4c7a-9fd8-bed87ae38ac3"
1366+
$PrincipalId = "5059f4fb-8e7e-4f41-9ca0-37bbaea765ea"
1367+
$PrincipalId2 = "15859188-ae55-4f6d-8f07-ac19a1ae8e7f"
13681368

13691369
$RoleName = "roleDefinitionName12"
13701370
$RoleName2 = "roleDefinitionName2"

0 commit comments

Comments
 (0)