Skip to content
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

Add powershell APIs for Partition merge and Throughput redistribution #18247

Merged
merged 29 commits into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
ad24bc4
partition merge powershell cmdlet
amar-sagare May 10, 2022
1134eba
Delete PartitionInfoGetResults
amar-sagare May 13, 2022
a2446e5
add pitr lite support
vinhms May 15, 2022
5d5ba88
fix update continuoustier and tests
vinhms May 17, 2022
1129389
add test recording
vinhms May 17, 2022
90a3bcc
Partition merge powershell cmdlets and tests
amar-sagare May 18, 2022
afd7508
Add RedisCacheTestRunner and replace Controller (#18222)
CaptainFanZzz May 18, 2022
f03530c
Add PrivateDnsTestRunner and replace TestBase (#18202)
CaptainFanZzz May 18, 2022
8f17f24
Add ReservationsTestRunner and replace TestController (#18226)
CaptainFanZzz May 18, 2022
13fe2cf
Add ResourceGraphTestRunner to replace TestController (#18227)
v-yuzhichen May 18, 2022
635e5c3
Add SecurityInsightsTestRunner and replace TestController (#18228)
CaptainFanZzz May 18, 2022
a62bbde
Signed-off-by: [email protected] <[email protected]> …
v-yuzhichen May 18, 2022
814268c
Add ServiceFabricTestRunner and replace TestController (#18231)
CaptainFanZzz May 18, 2022
a19de70
Add SignalRTestRunner to replace TestController (#18232)
v-yuzhichen May 18, 2022
429ba4b
powershell changes
amar-sagare May 19, 2022
de81122
Add SupportTestRunner to replace TestController (#18188)
ziyuezh576 May 19, 2022
7d8e998
Add SecurityTestRunner to replace TestController (#18189)
ziyuezh576 May 19, 2022
3938a0d
Add IotHubTestRunner to replace IotHubController (#18200)
ziyuezh576 May 19, 2022
a60a431
Add MonitorTestRunner to replace TestsController (#18201)
ziyuezh576 May 19, 2022
613efe0
Add TrafficManagerTestRunner to replace TestController (#18243)
v-yuzhichen May 19, 2022
a932cdf
Add more tests and fixes
amar-sagare May 19, 2022
5b294a4
Merge from master
amar-sagare May 19, 2022
a50d7d8
Fix merge conflicts and documentation
amar-sagare May 19, 2022
79fe956
revert non cosmosdb changes
amar-sagare May 19, 2022
5235034
Fix confirmation message
amar-sagare May 19, 2022
9a326d0
Update NuGet.Config
wyunchi-ms May 20, 2022
8b47ae5
suppressions
amar-sagare May 20, 2022
df9f6e1
Fix missing parameter
amar-sagare May 20, 2022
e4150d4
converted tests to manual verification
amar-sagare May 20, 2022
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
4 changes: 2 additions & 2 deletions src/CosmosDB/CosmosDB.Test/CosmosDB.Test.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PsModuleName>CosmosDB</PsModuleName>
</PropertyGroup>
<Import Project="$(MSBuildThisFileDirectory)..\..\Az.Test.props" />
<ItemGroup>
<PackageReference Include="Microsoft.Azure.KeyVault" Version="3.0.1" />
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="3.7.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.CosmosDB" Version="3.8.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.Network" Version="22.0.0" />
</ItemGroup>
</Project>
14 changes: 14 additions & 0 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,19 @@ public void TestMongoMigrateThroughputCmdlets()
{
TestRunner.RunTestScript("Test-MongoMigrateThroughputCmdlets");
}

[Fact(Skip = "Cannot acquire token credential for a specific audience. No support from test framework. I have verified the tests manually.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestMongoDBCollectionThroughputRedistributionCmdlet()
{
TestRunner.RunTestScript("Test-MongoDBCollectionAdaptiveRUCmdlets");
}

[Fact(Skip = "Cannot acquire token credential for a specific audience. No support from test framework. I have verified the tests manually.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestMongoDBCollectionMergeCmdlet()
{
TestRunner.RunTestScript("Test-MongoDBCollectionMergeCmdlet");
}
}
}
107 changes: 107 additions & 0 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/MongoOperationsTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -445,4 +445,111 @@ function Test-MongoMigrateThroughputCmdlets
Remove-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $CollectionName
Remove-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
}
}

<#
.SYNOPSIS
Test mongodb Throughput redistribution cmdlets
#>
function Test-MongoDBCollectionAdaptiveRUCmdlets
{
$AccountName = "mongomergeaccount"
$rgName = "canary-sdk-test"
$DatabaseName = "adaptiverudatabase"
$ContainerName = "adaptiveruContainer"

$ShardKey = "shardKeyPath"
$ContainerThroughputValue = 24000
$UpdatedContainerThroughputValue = 2000

Try{

New-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
New-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Throughput $ContainerThroughputValue -Name $ContainerName -Shard $ShardKey
Update-AzCosmosDBMongoDBCollectionThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName -Throughput $UpdatedContainerThroughputValue
$partitions = Get-AzCosmosDBMongoDBCollectionPerPartitionThroughput -ResourceGroupName $rgName -AccountName $AccountName -DatabaseName $DatabaseName -Name $ContainerName -AllPartitions
Assert-AreEqual $partitions.Count 4
$sources = @()
$targets = @()
Foreach($partition in $partitions)
{
Assert-AreEqual $partition.Throughput 500
if($partition.Id -lt 2)
{
$throughput = $partition.Throughput - 100
$sources += New-AzCosmosDBPhysicalPartitionThroughputObject -Id $partition.Id -Throughput $throughput
}
else
{
$throughput = $partition.Throughput + 100
$targets += New-AzCosmosDBPhysicalPartitionThroughputObject -Id $partition.Id -Throughput $throughput
}
}

$newPartitions = Update-AzCosmosDBMongoDBCollectionPerPartitionThroughput -ResourceGroupName $rgName -AccountName $AccountName -DatabaseName $DatabaseName -Name $ContainerName -SourcePhysicalPartitionThroughputObject $sources -TargetPhysicalPartitionThroughputObject $targets
Assert-AreEqual $newPartitions.Count 4
Foreach($partition in $newPartitions)
{
if($partition.Id -lt 2)
{
Assert-AreEqual $partition.Throughput 400
}
else
{
Assert-AreEqual $partition.Throughput 600
}
}

$resetPartitions = Update-AzCosmosDBMongoDBCollectionPerPartitionThroughput -ResourceGroupName $rgName -AccountName $AccountName -DatabaseName $DatabaseName -Name $ContainerName -EqualDistributionPolicy

Assert-AreEqual $resetPartitions.Count 4

Foreach($partition in $resetPartitions)
{
Assert-AreEqual $partition.Throughput 500
}

$somePartitions = Get-AzCosmosDBMongoDBCollectionPerPartitionThroughput -ResourceGroupName $rgName -AccountName $AccountName -DatabaseName $DatabaseName -Name $ContainerName -PhysicalPartitionIds ('0', '1')
Assert-AreEqual $somePartitions.Count 2
}
Finally{
Remove-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName
Remove-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
}
}


<#
.SYNOPSIS
Test mongodb merge cmdlet
#>
function Test-MongoDBCollectionMergeCmdlet
{
$AccountName = "mongomergeaccount"
$rgName = "canary-sdk-test"
$DatabaseName = "mergedatabase"
$ContainerName = "mergecontainer"

$ShardKey = "shardKeyPath"

$ContainerThroughputValue = 24000
$UpdatedContainerThroughputValue = 2000

Try{

New-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
New-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Throughput $ContainerThroughputValue -Name $ContainerName -Shard $ShardKey
Update-AzCosmosDBMongoDBCollectionThroughput -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName -Throughput $UpdatedContainerThroughputValue
$physicalPartitionStorageInfos = Invoke-AzCosmosDBMongoDBCollectionMerge -ResourceGroupName $rgName -AccountName $AccountName -DatabaseName $DatabaseName -Name $ContainerName -Force
Assert-AreEqual $physicalPartitionStorageInfos.Count 1
if($physicalPartitionStorageInfos[0].Id.contains("mergeTarget"))
{
throw "Name of partition: " + $physicalPartitionStorageInfos[0].Id + " Unexpected Id: mergeTarget"
}

}
Finally{
Remove-AzCosmosDBMongoDBCollection -AccountName $AccountName -ResourceGroupName $rgName -DatabaseName $DatabaseName -Name $ContainerName
Remove-AzCosmosDBMongoDBDatabase -AccountName $AccountName -ResourceGroupName $rgName -Name $DatabaseName
}
}
18 changes: 16 additions & 2 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/RestoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,23 @@ public void TestMongoDBCollectionBackupInformationCmdLets()

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestUpdateCosmosDBAccountBackupPolicyCmdLet()
public void TestUpdateCosmosDBAccountBackupPolicyToContinuous30DaysCmdLets()
{
TestRunner.RunTestScript("Test-UpdateCosmosDBAccountBackupPolicyCmdLet");
TestRunner.RunTestScript( "Test-UpdateCosmosDBAccountBackupPolicyToContinuous30DaysCmdLets");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestUpdateCosmosDBAccountBackupPolicyToContinuous7DaysCmdLets()
{
TestRunner.RunTestScript("Test-UpdateCosmosDBAccountBackupPolicyToContinuous7DaysCmdLets");
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestProvisionCosmosDBAccountBackupPolicyWithContinuous7DaysCmdLets()
{
TestRunner.RunTestScript("Test-ProvisionCosmosDBAccountBackupPolicyWithContinuous7DaysCmdLets");
}
}
}
126 changes: 120 additions & 6 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/RestoreTests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function Test-RestoreFromNewAccountCmdlets {
Assert-AreEqual $sourceRestorableAccount.DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $sourceRestorableAccount.DatabaseAccountName
Assert-NotNull $sourceRestorableAccount.CreationTime
Assert-NotNull $sourceRestorableAccount.OldestRestorableTime

$restorableSqlDatabases = Get-AzCosmosDBSqlRestorableDatabase -Location $sourceCosmosDBAccount.Location -DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $restorableSqlDatabases
Expand Down Expand Up @@ -139,6 +140,7 @@ function Test-MongoRestoreAccountCmdlets {
Assert-AreEqual $sourceRestorableAccount.DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $sourceRestorableAccount.DatabaseAccountName
Assert-NotNull $sourceRestorableAccount.CreationTime
Assert-NotNull $sourceRestorableAccount.OldestRestorableTime

$NewDatabase = New-AzCosmosDBMongoDBDatabase -AccountName $sourceCosmosDBAccountName -ResourceGroupName $rgName -Name $databaseName -Throughput $ThroughputValue
$NewCollection = New-AzCosmosDBMongoDBCollection -AccountName $sourceCosmosDBAccountName -ResourceGroupName $rgName -DatabaseName $databaseName -Throughput $CollectionThroughputValue -Name $CollectionName -Shard $ShardKey
Expand Down Expand Up @@ -218,6 +220,7 @@ function Test-RestoreFailuresAccountCmdlets {
Assert-AreEqual $sourceRestorableAccount.DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $sourceRestorableAccount.DatabaseAccountName
Assert-NotNull $sourceRestorableAccount.CreationTime
Assert-NotNull $sourceRestorableAccount.OldestRestorableTime

$restorableSqlDatabases = Get-AzCosmosDBSqlRestorableDatabase -Location $sourceCosmosDBAccount.Location -DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $restorableSqlDatabases
Expand Down Expand Up @@ -246,9 +249,9 @@ function Test-RestoreFailuresAccountCmdlets {
}

function Test-SqlContainerBackupInformationCmdLets {
$rgName = "CosmosDBResourceGroup14"
$rgName = "CosmosDBResourceGroup52"
$location = "Central US"
$cosmosDBAccountName = "cosmosdb-1214"
$cosmosDBAccountName = "cosmosdb-1252"
$databaseName = "TestDB1";
$collectionName = "TestCollectionInDB1";
$apiKind = "Sql"
Expand Down Expand Up @@ -326,10 +329,10 @@ function Test-MongoDBCollectionBackupInformationCmdLets {
Assert-NotNull $backupInfo.LatestRestorableTimestamp
}

function Test-UpdateCosmosDBAccountBackupPolicyCmdLet {
$rgName = "CosmosDBResourceGroup20"
function Test-UpdateCosmosDBAccountBackupPolicyToContinuous30DaysCmdLets {
$rgName = "PSCosmosDBResourceGroup20"
$location = "Central US"
$cosmosDBAccountName = "cosmosdb-1220"
$cosmosDBAccountName = "ps-cosmosdb-1220"
$apiKind = "Sql"
$consistencyLevel = "Session"
$locations = @()
Expand All @@ -345,11 +348,122 @@ function Test-UpdateCosmosDBAccountBackupPolicyCmdLet {
}

$updatedCosmosDBAccount = Update-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName -BackupPolicyType Continuous
Start-Sleep -s 50
Start-Sleep -s (60)

$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.Status
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.TargetType
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.StartTime

Start-Sleep -s (60 * 5)

while (
$updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.Status -ne "Completed" -and
$updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.Status -ne "Failed" -and
$updatedCosmosDBAccount.BackupPolicy.BackupType -ne "Continuous")
{
Start-Sleep -s 60

# keep polling the migration Status
$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
}

Assert-AreEqual "Continuous" $updatedCosmosDBAccount.BackupPolicy.BackupType
Assert-AreEqual "Continuous30Days" $updatedCosmosDBAccount.BackupPolicy.Tier

$updatedCosmosDBAccount = Update-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName -BackupPolicyType Continuous -ContinuousTier Continuous7Days
Start-Sleep -s (60 * 2)

$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
Assert-AreEqual "Continuous" $updatedCosmosDBAccount.BackupPolicy.BackupType
Assert-AreEqual "Continuous7Days" $updatedCosmosDBAccount.BackupPolicy.Tier
}

function Test-UpdateCosmosDBAccountBackupPolicyToContinuous7DaysCmdLets {
$rgName = "PSCosmosDBResourceGroup50"
$location = "Central US"
$cosmosDBAccountName = "ps-cosmosdb-1250"
$apiKind = "Sql"
$consistencyLevel = "Session"
$locations = @()
$locations += New-AzCosmosDBLocationObject -Location $location -FailoverPriority 0 -IsZoneRedundant 0

$resourceGroup = New-AzResourceGroup -ResourceGroupName $rgName -Location $location

Try {
New-AzCosmosDBAccount -ResourceGroupName $rgName -LocationObject $locations -Name $cosmosDBAccountName -ApiKind $apiKind -DefaultConsistencyLevel $consistencyLevel
}
Catch {
Assert-AreEqual $_.Exception.Message ("Resource with Name " + $cosmosDBAccountName + " already exists.")
}

$updatedCosmosDBAccount = Update-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName -BackupPolicyType Continuous -ContinuousTier Continuous7Days
Start-Sleep -s (60)

$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.Status
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.TargetType
Assert-NotNull $updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.StartTime

Start-Sleep -s (60 * 5)

while (
$updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.Status -ne "Completed" -and
$updatedCosmosDBAccount.BackupPolicy.BackupPolicyMigrationState.Status -ne "Failed" -and
$updatedCosmosDBAccount.BackupPolicy.BackupType -ne "Continuous")
{
Start-Sleep -s 60

# keep polling the migration Status
$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
}

Assert-AreEqual "Continuous" $updatedCosmosDBAccount.BackupPolicy.BackupType
Assert-AreEqual "Continuous7Days" $updatedCosmosDBAccount.BackupPolicy.Tier

# If we don't provide the continuoustier, it should not trigger the update to continuous30days
$updatedCosmosDBAccount = Update-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
Start-Sleep -s (60 * 2)

$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
Assert-AreEqual "Continuous7Days" $updatedCosmosDBAccount.BackupPolicy.Tier

# Provide continuoustier explicitly, it should triggered the update to continuous30days
$updatedCosmosDBAccount = Update-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName -BackupPolicyType Continuous -ContinuousTier Continuous30Days
Start-Sleep -s (60 * 2)

$updatedCosmosDBAccount = Get-AzCosmosDBAccount -ResourceGroupName $rgName -Name $cosmosDBAccountName
Assert-AreEqual "Continuous" $updatedCosmosDBAccount.BackupPolicy.BackupType
Assert-AreEqual "Continuous30Days" $updatedCosmosDBAccount.BackupPolicy.Tier
}

function Test-ProvisionCosmosDBAccountBackupPolicyWithContinuous7DaysCmdLets {
#use an existing account with the following information
$rgName = "PSCosmosDBResourceGroup51"
$location = "West US"
$sourceCosmosDBAccountName = "ps-cosmosdb-1251"
$consistencyLevel = "Session"
$apiKind = "Sql"
$locations = @()
$locations += New-AzCosmosDBLocationObject -Location "West Us" -FailoverPriority 0 -IsZoneRedundant 0

$resourceGroup = New-AzResourceGroup -ResourceGroupName $rgName -Location $location
New-AzCosmosDBAccount -ResourceGroupName $rgName -LocationObject $locations -Name $sourceCosmosDBAccountName -ApiKind $apiKind -DefaultConsistencyLevel $consistencyLevel -BackupPolicyType Continuous -ContinuousTier Continuous7Days

$sourceCosmosDBAccount = Get-AzCosmosDBAccount -Name $sourceCosmosDBAccountName -ResourceGroupName $rgName
Assert-AreEqual "Continuous" $sourceCosmosDBAccount.BackupPolicy.BackupType
Assert-AreEqual "Continuous7Days" $sourceCosmosDBAccount.BackupPolicy.Tier

$sourceRestorableAccount = Get-AzCosmosDBRestorableDatabaseAccount -Location $sourceCosmosDBAccount.Location -DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $sourceRestorableAccount.Id
Assert-NotNull $sourceRestorableAccount.Location
Assert-NotNull $sourceRestorableAccount.DatabaseAccountInstanceId
Assert-NotNull $sourceRestorableAccount.RestorableLocations
Assert-AreEqual $sourceRestorableAccount.RestorableLocations.Count 1
Assert-AreEqual $sourceRestorableAccount.DatabaseAccountInstanceId $sourceCosmosDBAccount.InstanceId
Assert-NotNull $sourceRestorableAccount.DatabaseAccountName
Assert-NotNull $sourceRestorableAccount.CreationTime
Assert-NotNull $sourceRestorableAccount.OldestRestorableTime
}
14 changes: 14 additions & 0 deletions src/CosmosDB/CosmosDB.Test/ScenarioTests/SqlOperationsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,19 @@ public void TestClientEncryptionKeyCmdletsUsingInputObject()
{
TestRunner.RunTestScript("Test-ClientEncryptionKeyCmdletsUsingInputObject");
}

[Fact(Skip = "Cannot acquire token credential for a specific audience. No support from test framework. I have verified the tests manually.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSqlContainerMergeCmdlet()
{
TestRunner.RunTestScript("Test-SqlContainerMergeCmdlet");
}

[Fact(Skip = "Cannot acquire token credential for a specific audience. No support from test framework. I have verified the tests manually.")]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSqlContainerAdaptiveRUCmdlets()
{
TestRunner.RunTestScript("Test-SqlContainerAdaptiveRUCmdlets");
}
}
}
Loading