Skip to content

Commit 6df9a7d

Browse files
author
unknown
committed
Remove password and fix AzureDiskTest
1 parent 4b711b5 commit 6df9a7d

File tree

4 files changed

+5
-17
lines changed

4 files changed

+5
-17
lines changed

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Commands.ServiceManagement.Test.csproj

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -450,8 +450,6 @@
450450
<None Include="Resources\packageReservedIP.csv" />
451451
<None Include="Resources\packageScenario.csv" />
452452
<None Include="Resources\patch_VHD.csv" />
453-
<None Include="Resources\PrivateConfig.json" />
454-
<None Include="Resources\PublicConfig.json" />
455453
<None Include="Resources\rdpcert.pfx" />
456454
<None Include="Resources\ReservedIPConfig1.cscfg" />
457455
<None Include="Resources\ReservedIPConfig1update.cscfg" />
@@ -480,9 +478,6 @@
480478
<Content Include="Resources\da.xml" />
481479
<Content Include="Resources\PrivateConfig.xml" />
482480
<Content Include="Resources\PublicConfig.xml" />
483-
<Content Include="Resources\RDPTest.exe" />
484-
<Content Include="Resources\tclient.dll" />
485-
<Content Include="Resources\tclientmanagedex.dll" />
486481
<Content Include="Resources\VmAccessExtensionConfiguration.xml" />
487482
</ItemGroup>
488483
<ItemGroup>

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/FunctionalTests/FunctionalTestCommonVhd.cs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ public static void ClassInit(TestContext context)
7575
[TestInitialize]
7676
public void Initialize()
7777
{
78-
//vhdName = Utilities.GetUniqueShortName(vhdNamePrefix);
79-
//CopyCommonVhd(vhdContainerName, vhdNamePrefix, vhdName);
8078
pass = false;
8179
testStartTime = DateTime.Now;
8280
}
@@ -85,8 +83,9 @@ public void Initialize()
8583
public void AzureDiskTest()
8684
{
8785
StartTest(MethodBase.GetCurrentMethod().Name, testStartTime);
88-
vhdName = "os0.vhd";
89-
string mediaLocation = String.Format("{0}{1}/{2}", blobUrlRoot, vhdContainerName, vhdName);
86+
string blobName = "os0.vhd";
87+
vhdName = Utilities.GetUniqueShortName("os0vhd");
88+
string mediaLocation = String.Format("{0}{1}/{2}", blobUrlRoot, vhdContainerName, blobName);
9089

9190
try
9291
{
@@ -115,7 +114,7 @@ public void AzureDiskTest()
115114
Console.WriteLine("Disk Label is successfully updated");
116115

117116
// Update only size
118-
int newSize = 100;
117+
int newSize = 250;
119118
vmPowershellCmdlets.UpdateAzureDisk(vhdName, null, newSize);
120119

121120
virtualDisk = vmPowershellCmdlets.GetAzureDisk(vhdName)[0];
@@ -127,7 +126,7 @@ public void AzureDiskTest()
127126

128127
// Update both label and size
129128
newLabel = "NewLabel2";
130-
newSize = 200;
129+
newSize = 300;
131130
vmPowershellCmdlets.UpdateAzureDisk(vhdName, newLabel, newSize);
132131

133132
virtualDisk = vmPowershellCmdlets.GetAzureDisk(vhdName)[0];

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/PrivateConfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/PublicConfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)