Skip to content

Commit f8388a8

Browse files
committed
Merge pull request #195 from huangpf/dev
HPF PR: dev <- huangpf:dev
2 parents 560dc20 + 5421ab7 commit f8388a8

File tree

54 files changed

+35716
-7049
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+35716
-7049
lines changed

setup/azurecmdfiles.wxi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,11 @@
763763
<Component Id="cmp8BCA174B740D6FE9FE610DDF340C002E" Guid="*">
764764
<File Id="fil5F3D2DE1162DE2DB606A10FC49FD35D3" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Compute\System.Spatial.dll" />
765765
</Component>
766+
<Directory Id="dirA59EF05935407C6E2436C80080A7C107" Name="Generated">
767+
<Component Id="cmp7E161D88C2C114CB3885FA17B24DF61C" Guid="*">
768+
<File Id="filDB35D90F36AFF3DF49E3C45376E82EBE" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Compute\Generated\Microsoft.Azure.Commands.Compute.Automation.format.generated.ps1xml" />
769+
</Component>
770+
</Directory>
766771
</Directory>
767772
<Directory Id="dir92B779C59BDF2780C6B4FC5F744D2EF5" Name="AzureRM.DataFactories">
768773
<Component Id="cmp75C3D72B9C46E1B9D3F51CE3D29F6F00" Guid="*">
@@ -5211,6 +5216,7 @@
52115216
<ComponentRef Id="cmpD971A9A271757FD9B35B0AA9E0C18E24" />
52125217
<ComponentRef Id="cmp22C16EA85B773C14B7E6439621F10355" />
52135218
<ComponentRef Id="cmp8BCA174B740D6FE9FE610DDF340C002E" />
5219+
<ComponentRef Id="cmp7E161D88C2C114CB3885FA17B24DF61C" />
52145220
<ComponentRef Id="cmp75C3D72B9C46E1B9D3F51CE3D29F6F00" />
52155221
<ComponentRef Id="cmpEEBCE6D5D00306CCD759CE5B7793B164" />
52165222
<ComponentRef Id="cmpEA6F740D378DB99E31F7433B8C57865A" />

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@
172172
<Compile Include="ScenarioTests\DscExtensionTests.cs" />
173173
<Compile Include="ScenarioTests\RunnerTests.cs" />
174174
<Compile Include="ScenarioTests\VirtualMachineBootDiagnosticsTests.cs" />
175+
<Compile Include="ScenarioTests\VirtualMachineScaleSetTests.cs" />
175176
<Compile Include="ScenarioTests\VMDynamicTests.cs" />
176177
<Compile Include="ScenarioTests\VirtualMachineProfileTests.cs" />
177178
<Compile Include="ScenarioTests\AvailabilitySetTests.cs" />
@@ -248,6 +249,9 @@
248249
<None Include="ScenarioTests\DiagnosticsExtensionTests.ps1">
249250
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
250251
</None>
252+
<None Include="ScenarioTests\VirtualMachineScaleSetTests.ps1">
253+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
254+
</None>
251255
<None Include="ScenarioTests\VMDynamicTests.ps1">
252256
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
253257
</None>
@@ -358,6 +362,9 @@
358362
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineProfileTests\TestVirtualMachineProfileWithoutAUC.json">
359363
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
360364
</None>
365+
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineScaleSetTests\TestVirtualMachineScaleSet.json">
366+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
367+
</None>
361368
<None Include="SessionRecords\Microsoft.Azure.Commands.Compute.Test.ScenarioTests.VirtualMachineTests\TestGetVMSizeFromAllLocations.json">
362369
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
363370
</None>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// ----------------------------------------------------------------------------------
2+
//
3+
// Copyright Microsoft Corporation
4+
// Licensed under the Apache License, Version 2.0 (the "License");
5+
// you may not use this file except in compliance with the License.
6+
// You may obtain a copy of the License at
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
// Unless required by applicable law or agreed to in writing, software
9+
// distributed under the License is distributed on an "AS IS" BASIS,
10+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
// See the License for the specific language governing permissions and
12+
// limitations under the License.
13+
// ----------------------------------------------------------------------------------
14+
15+
using Microsoft.WindowsAzure.Commands.ScenarioTest;
16+
using Xunit;
17+
18+
namespace Microsoft.Azure.Commands.Compute.Test.ScenarioTests
19+
{
20+
public partial class VirtualMachineScaleSetTests
21+
{
22+
[Fact]
23+
[Trait(Category.AcceptanceType, Category.CheckIn)]
24+
public void TestVirtualMachineScaleSet()
25+
{
26+
ComputeTestController.NewInstance.RunPsTest("Test-VirtualMachineScaleSet");
27+
}
28+
29+
[Fact(Skip="TODO: Record")]
30+
[Trait(Category.AcceptanceType, Category.CheckIn)]
31+
public void TestVirtualMachineScaleSetReimageUpdate()
32+
{
33+
ComputeTestController.NewInstance.RunPsTest("Test-VirtualMachineScaleSetReimageUpdate");
34+
}
35+
}
36+
}

0 commit comments

Comments
 (0)