Skip to content

Commit 870a8a4

Browse files
committed
Merge pull request #15 from avijitgupta/dev
removing commented code and credentials
2 parents bcf0445 + b6c091b commit 870a8a4

File tree

2 files changed

+3
-15
lines changed

2 files changed

+3
-15
lines changed

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

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,14 @@ public void CreateReservedIPThenPaaSVM()
6868
{
6969
try
7070
{
71-
string reservedIpName1 = "ResrvdIP1";
72-
string reservedIpName2 = "ResrvdIP2";
71+
string reservedIpName1 = Utilities.GetUniqueShortName("ResrvdIP1"); ;
72+
string reservedIpName2 = Utilities.GetUniqueShortName("ResrvdIP2"); ;
7373
string reservedIpLabel1 = Utilities.GetUniqueShortName("ResrvdIPLbl", 5);
7474
string reservedIpLabel2 = Utilities.GetUniqueShortName("ResrvdIPLbl", 5);
7575
string dnsName = Utilities.GetUniqueShortName("Dns");
76-
//string vmName = Utilities.GetUniqueShortName(vmNamePrefix);
7776
string deploymentName = Utilities.GetUniqueShortName("Depl");
7877
var input1 = new ReservedIPContext()
7978
{
80-
//Address = string.Empty,
8179
DeploymentName = string.Empty,
8280
Label = reservedIpLabel1,
8381
InUse = false,
@@ -88,7 +86,6 @@ public void CreateReservedIPThenPaaSVM()
8886

8987
var input2 = new ReservedIPContext()
9088
{
91-
//Address = string.Empty,
9289
DeploymentName = string.Empty,
9390
Label = reservedIpLabel2,
9491
InUse = false,
@@ -164,7 +161,6 @@ public void CreateReservedIPThenWindowsVM()
164161
string deploymentName = Utilities.GetUniqueShortName("Depl");
165162
var input = new ReservedIPContext()
166163
{
167-
//Address = string.Empty,
168164
DeploymentName = string.Empty,
169165
Label = reservedIpLabel,
170166
InUse = false,
@@ -212,7 +208,6 @@ public void CreatePaaSDeploymentAssociateAndDisassociateReservedIp()
212208

213209
var input = new ReservedIPContext()
214210
{
215-
//Address = string.Empty,
216211
DeploymentName = string.Empty,
217212
Label = reservedIpLabel,
218213
InUse = false,
@@ -279,7 +274,6 @@ public void CreateWindowsVMThenAssociateReservedIP()
279274
string vmName = Utilities.GetUniqueShortName(vmNamePrefix);
280275
var input = new ReservedIPContext()
281276
{
282-
//Address = string.Empty,
283277
DeploymentName = string.Empty,
284278
Label = reservedIpLabel,
285279
InUse = false,
@@ -330,7 +324,6 @@ public void TestAssociateReservedIPToStageSlotIaaSFails()
330324
string vmName = Utilities.GetUniqueShortName(vmNamePrefix);
331325
var input = new ReservedIPContext()
332326
{
333-
//Address = string.Empty,
334327
DeploymentName = string.Empty,
335328
Label = reservedIpLabel,
336329
InUse = false,
@@ -375,7 +368,6 @@ public void CreateWindowsVMWithReservedIPThenDisassociateReservedIP()
375368
string vmName = Utilities.GetUniqueShortName(vmNamePrefix);
376369
var input = new ReservedIPContext()
377370
{
378-
//Address = string.Empty,
379371
DeploymentName = string.Empty,
380372
Label = reservedIpLabel,
381373
InUse = false,
@@ -427,7 +419,6 @@ public void CreateWindowsVMThenReservedExistingIP()
427419
string deploymentName = Utilities.GetUniqueShortName("Depl");
428420
var input = new ReservedIPContext()
429421
{
430-
//Address = string.Empty,
431422
DeploymentName = string.Empty,
432423
Label = reservedIpLabel,
433424
InUse = false,
@@ -479,7 +470,6 @@ public void CreateReservedIPThenLinuxVM()
479470
string affinityGroup = Utilities.GetUniqueShortName("AffGrp");
480471
var input = new ReservedIPContext()
481472
{
482-
//Address = string.Empty,
483473
DeploymentName = string.Empty,
484474
Label = reservedIpLabel,
485475
InUse = false,
@@ -534,7 +524,6 @@ public void CreateReservedIPThenWindowsQuickVM()
534524
string affinityGroup = Utilities.GetUniqueShortName("AffGrp");
535525
var input = new ReservedIPContext()
536526
{
537-
//Address = string.Empty,
538527
DeploymentName = string.Empty,
539528
Label = reservedIpLabel,
540529
InUse = false,
@@ -581,7 +570,6 @@ public void CreateReservedIPThenLinuxQuickVM()
581570
string affinityGroup = Utilities.GetUniqueShortName("AffGrp");
582571
var input = new ReservedIPContext()
583572
{
584-
//Address = string.Empty,
585573
DeploymentName = string.Empty,
586574
Label = reservedIpLabel,
587575
InUse = false,

src/ServiceManagement/Compute/Commands.ServiceManagement.Test/Resources/ServiceConfiguration.cscfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<ServiceConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" serviceName="HelloWorld" osFamily="2" osVersion="*" xmlns="http://schemas.microsoft.com/ServiceHosting/2008/10/ServiceConfiguration">
33
<Role name="HelloWorld_WebRole">
44
<ConfigurationSettings>
5-
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=samplesa;AccountKey=1VtQsFrdpGyY8bKCC2WF74B1lV9fBpPtxZbBj6apwFNLCm/sYTlsrCmps9TgBMykw5NiGGGwngYUzhvpECUXUQ==" />
5+
<Setting name="Microsoft.WindowsAzure.Plugins.Diagnostics.ConnectionString" value="DefaultEndpointsProtocol=https;AccountName=test;AccountKey=test" />
66
</ConfigurationSettings>
77
<Instances count="1" />
88
</Role>

0 commit comments

Comments
 (0)