Skip to content

Commit 8b1a2b1

Browse files
Reprotect recordings
1 parent 8ef56f1 commit 8b1a2b1

File tree

3 files changed

+5433
-6
lines changed

3 files changed

+5433
-6
lines changed

src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public void A2AResyncReplicationProtectionClusterTest()
198198
"Test-A2AResyncReplicationProtectionCluster");
199199
}
200200

201-
[Fact(Skip = "To be re-recorded")]
201+
[Fact]
202202
[Trait(Category.AcceptanceType, Category.CheckIn)]
203203
public void A2AReprotectClusterWithoutProtectedItemDetailsTest()
204204
{

src/RecoveryServices/RecoveryServices.SiteRecovery.Test/ScenarioTests/A2A/AsrA2ATests.ps1

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,19 +1506,19 @@ function Test-A2AResyncReplicationProtectionCluster{
15061506
Test A2AReprotectClusterWithoutProtectedItemDetails parametersets
15071507
#>
15081508
function Test-A2AReprotectClusterWithoutProtectedItemDetails{
1509-
$Vault = Get-AzRecoveryServicesVault -Name "vijamishareddisktest" -ResourceGroupName "vijami-alertrg"
1509+
$Vault = Get-AzRecoveryServicesVault -Name "vijami1903" -ResourceGroupName "vijami-alertrg"
15101510
Set-ASRVaultContext -Vault $Vault
15111511
$fabricName = "asr-a2a-default-eastus2"
15121512
$fabric = Get-AzRecoveryServicesAsrFabric -Name $fabricName
15131513
$pc = Get-AzRecoveryServicesAsrProtectionContainer -Fabric $fabric
15141514
$forwardpcm = Get-AzRecoveryServicesAsrProtectionContainerMapping -ProtectionContainer $pc -Name "eastus2-westus-24-hour-retention-policy"
1515-
$clusterName = "shareddiskcluster"
1515+
$clusterName = "cluster924"
15161516
$cluster = Get-AzRecoveryServicesAsrReplicationProtectionCluster -Name $clusterName -ProtectionContainer $pc
15171517

15181518
$storage = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/vijami-alertrg/providers/Microsoft.Storage/storageAccounts/yerp1nvijamitestasrcache"
1519-
$ppg = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterRG-Shashank-1902225147/providers/Microsoft.Compute/proximityPlacementGroups/sdgql-ppg"
1520-
$avset = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterRG-Shashank-1902225147/providers/Microsoft.Compute/availabilitySets/SDGQL-AS"
1521-
$rgId = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterRG-Shashank-1902225147"
1519+
$ppg = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterRG-Vijami-1003165924/providers/Microsoft.Compute/proximityPlacementGroups/sdgql-ppg"
1520+
$avset = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterRG-Vijami-1003165924/providers/Microsoft.Compute/availabilitySets/SDGQL-AS"
1521+
$rgId = "/subscriptions/7c943c1b-5122-4097-90c8-861411bdd574/resourceGroups/ClusterRG-Vijami-1003165924"
15221522

15231523
# Without protected item details
15241524
$recoveryFabricName = "asr-a2a-default-westus"

0 commit comments

Comments
 (0)