Skip to content

Test Recordings, Signature Exception #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: ThroughputBucketPreview
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/Accounts/Accounts/Utilities/CommandMappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -1714,14 +1714,13 @@
"New-AzCosmosDBSqlUniqueKey": {},
"New-AzCosmosDBSqlUniqueKeyPolicy": {},
"New-AzCosmosDBSqlUserDefinedFunction": {},
"New-AzCosmosDBSqlVectorEmbedding": {},
"New-AzCosmosDBSqlVectorEmbeddingPolicy": {},
"New-AzCosmosDBSqlVectorIndex": {},
"New-AzCosmosDBTable": {},
"New-AzCosmosDBTableRoleAssignment": {},
"New-AzCosmosDBTableRoleDefinition": {},
"New-AzCosmosDBSqlVectorEmbedding": {},
"New-AzCosmosDBSqlVectorEmbeddingPolicy": {},
"New-AzCosmosDBSqlVectorIndex": {},
"New-AzCosmosDBTableToRestore": {},
"New-AzCosmosDBThroughputBucketObject": {},
"New-AzCosmosDBVirtualNetworkRule": {},
"New-AzManagedCassandraCluster": {},
"New-AzManagedCassandraDatacenter": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void TestCassandraMigrateThroughputCmdlets()
TestRunner.RunTestScript("Test-CassandraMigrateThroughputCmdlets");
}

[Fact]
[Fact(Skip = "Feature requires subscription registration. Will be generic in next version.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCassandraRoleCmdlets()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void TestGremlinInAccountRestoreOperationsSharedRUResourcesCmdlets()
TestRunner.RunTestScript("Test-GremlinInAccountRestoreOperationsSharedRUResourcesCmdlets");
}

[Fact]
[Fact(Skip = "Feature requires subscription registration. Will be generic in next version.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestGremlinRoleCmdlets()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void TestMongoDBDatabaseMergeCmdlet()
TestRunner.RunTestScript("Test-MongoDBDatabaseMergeCmdlet");
}

[Fact]
[Fact(Skip = "Feature requires subscription registration. Will be generic in next version.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestMongoMIRoleCmdlets()
{
Expand Down
4 changes: 2 additions & 2 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/RestoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,14 +142,14 @@ public void TestProvisionCosmosDBAccountBackupPolicyWithContinuous7DaysCmdLets()
TestRunner.RunTestScript("Test-ProvisionCosmosDBAccountBackupPolicyWithContinuous7DaysCmdLets");
}

[Fact]
[Fact(Skip = "Flaky test: Working on windows but pipelines failing on Macos")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCrossRegionRestoreAccountCmdlets()
{
TestRunner.RunTestScript("Test-CrossRegionRestoreAccountCmdlets");
}

[Fact]
[Fact(Skip = "Flaky test: Working on windows but pipelines failing on Macos")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestCrossRegionRestoreSingleRegionAccountCmdlets()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ function Test-SqlMaterializedViewCmdlets

Try{
$resourceGroup = New-AzResourceGroup -ResourceGroupName $rgName -Location $location
$cosmosDBAccount = New-AzCosmosDBAccount -ResourceGroupName $rgName -LocationObject $locations -Name $AccountName -ApiKind $apiKind -DefaultConsistencyLevel $consistencyLevel -EnableMaterializedViews 1
$cosmosDBAccount = New-AzCosmosDBAccount -ResourceGroupName $rgName -LocationObject $locations -Name $AccountName -ApiKind $apiKind -DefaultConsistencyLevel $consistencyLevel -EnableMaterializedViews 1 -BackupPolicyType Continuous

$NewDatabase = New-AzCosmosDBSqlDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName -Throughput $ThroughputValue
$Throughput = Get-AzCosmosDBSqlDatabaseThroughput -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

141,821 changes: 9,388 additions & 132,433 deletions ...e.Commands.CosmosDB.Test.ScenarioTests.ScenarioTest.AccountTests/TestPrivateEndpoint.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,4 @@
"Az.CosmosDB","Microsoft.Azure.Commands.CosmosDB.GetAzCosmosDBSqlDatabasePerPartitionThroughput","Get-AzCosmosDBSqlDatabasePerPartitionThroughput","1","8410","Parameter AllPartitions of cmdlet Get-AzCosmosDBSqlDatabasePerPartitionThroughput does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
"Az.CosmosDB","Microsoft.Azure.Commands.CosmosDB.NewAzCosmosDBAccount","New-AzCosmosDBAccount","1","8410","Parameter EnableMaterializedViews of cmdlet New-AzCosmosDBAccount does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
"Az.CosmosDB","Microsoft.Azure.Commands.CosmosDB.UpdateAzCosmosDBAccount","Update-AzCosmosDBAccount","1","8410","Parameter EnableMaterializedViews of cmdlet Update-AzCosmosDBAccount does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."
"Az.CosmosDB","Microsoft.Azure.Commands.CosmosDB.NewAzCosmosDBSqlVectorEmbedding","New-AzCosmosDBSqlVectorEmbedding","1","8410","Parameter Dimensions of cmdlet New-AzCosmosDBSqlVectorEmbedding does not follow the enforced naming convention of using a singular noun for a parameter name.","Consider using a singular noun for the parameter name."