Skip to content

Commit 40c172f

Browse files
committed
Merge pull request #626 from DeepakRajendranMsft/RemoveLocationFromTest
Remove location from test
2 parents 29f3208 + 2c09949 commit 40c172f

File tree

2 files changed

+292
-245
lines changed

2 files changed

+292
-245
lines changed

src/ResourceManager/Network/Commands.Network.Test/ScenarioTests/NetworkInterfaceTests.ps1

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -392,12 +392,8 @@ function Test-NetworkInterfaceIDns
392392
$domainNameLabel = Get-ResourceName
393393
$rglocation = Get-ProviderLocation ResourceManagement
394394
$resourceTypeParent = "Microsoft.Network/networkInterfaces"
395-
<#
396-
uncomment after IDNS is enabled in all locations
397395
$location = Get-ProviderLocation $resourceTypeParent
398-
#>
399-
$location = "centralus"
400-
396+
401397
try
402398
{
403399
# Create the resource group
@@ -451,8 +447,7 @@ function Test-NetworkInterfaceEnableIPForwarding
451447
$nicName = Get-ResourceName
452448
$domainNameLabel = Get-ResourceName
453449
$rglocation = Get-ProviderLocation ResourceManagement
454-
$resourceTypeParent = "Microsoft.Network/networkInterfaces"
455-
450+
$resourceTypeParent = "Microsoft.Network/networkInterfaces"
456451
$location = Get-ProviderLocation $resourceTypeParent
457452

458453
try

src/ResourceManager/Network/Commands.Network.Test/SessionRecords/Commands.Network.Test.ScenarioTests.NetworkInterfaceTests/TestNetworkInterfaceIDns.json

Lines changed: 290 additions & 238 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)