Skip to content

Commit ced64c5

Browse files
committed
test for pirv2
1 parent 19e40c9 commit ced64c5

File tree

4 files changed

+4897
-3
lines changed

4 files changed

+4897
-3
lines changed

src/ResourceManager/Compute/Commands.Compute.Test/Commands.Compute.Test.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,9 @@
271271
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineTests\TestVirtualMachineList.json">
272272
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
273273
</None>
274+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineTests\TestVirtualMachinePIRv2.json">
275+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
276+
</None>
274277
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineTests\TestVirtualMachineSizeAndUsage.json">
275278
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
276279
</None>

src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachinePIRv2Tests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests
1919
{
2020
public partial class VirtualMachineTests
2121
{
22-
//[Fact(Skip = "TODO: Record")]
23-
//[Trait(Category.AcceptanceType, Category.CheckIn)]
22+
[Fact]
23+
[Trait(Category.AcceptanceType, Category.CheckIn)]
2424
public void TestVirtualMachinePIRv2()
2525
{
2626
ComputeTestController.NewInstance.RunPsTest("Test-VirtualMachinePIRv2");

src/ResourceManager/Compute/Commands.Compute.Test/ScenarioTests/VirtualMachineTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@ function Test-VirtualMachinePIRv2
637637
New-AzureVM -ResourceGroupName $rgname -Location $loc -Name $vmname -VM $p;
638638

639639
# Remove
640-
Remove-AzureVM -Name $vmname2 -ResourceGroupName $rgname -Force;
640+
# Remove-AzureVM -ResourceGroupName $rgname -Name $vmname -Force;
641641
}
642642
finally
643643
{

0 commit comments

Comments
 (0)