Skip to content

Commit 5e44daa

Browse files
committed
temporarily removed E2E tests
1 parent 25585aa commit 5e44daa

File tree

4 files changed

+0
-779
lines changed

4 files changed

+0
-779
lines changed

src/ResourceManager/DataFactories/Commands.DataFactories.Test/Commands.DataFactories.Test.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@
217217
<None Include="SessionRecords\Microsoft.Azure.Commands.DataFactories.Test.DataFactoryGatewayTests\TestCreateDataFactoryGatewayWithDataFactoryParameter.json">
218218
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
219219
</None>
220-
<None Include="SessionRecords\Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests\TestCreateAndOverwriteDataFactory.json" />
221220
<None Include="SessionRecords\Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests\TestCreateDataFactory.json">
222221
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
223222
</None>

src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,5 @@ public void TestDataFactoryPiping()
6060
{
6161
RunPowerShellTest("Test-DataFactoryPiping");
6262
}
63-
64-
[Fact]
65-
[Trait(Category.AcceptanceType, Category.CheckIn)]
66-
public void TestCreateAndOverwriteDataFactory()
67-
{
68-
RunPowerShellTest("Test-CreateAndOverwriteDataFactory");
69-
}
7063
}
7164
}

src/ResourceManager/DataFactories/Commands.DataFactories.Test/ScenarioTests/DataFactoryTests.ps1

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -124,30 +124,4 @@ function Test-DataFactoryPiping
124124

125125
# Test the data factory no longer exists
126126
Assert-ThrowsContains { Get-AzureDataFactory -ResourceGroupName $rgname -Name $dfname } "ResourceNotFound"
127-
}
128-
129-
<#
130-
.SYNOPSIS
131-
Test Creating and overwriting data factory.
132-
#>
133-
function Test-CreateAndOverwriteDataFactory
134-
{
135-
$dfname = Get-DataFactoryName
136-
$rgname = Get-ResourceGroupName
137-
$rglocation = Get-ProviderLocation ResourceManagement
138-
$dflocation = Get-ProviderLocation DataFactoryManagement
139-
140-
New-AzureResourceGroup -Name $rgname -Location $rglocation -Force
141-
142-
$df = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfName -Location $rglocation -force
143-
Assert-AreEqual $df.DataFactoryName $dfName
144-
145-
$dfDuplicate = New-AzureDataFactory -ResourceGroupName $rgname -Name $dfName -Location $rglocation -force
146-
Assert-AreEqual $dfDuplicate.DataFactoryName $dfName
147-
148-
$dfGetResult = Get-AzureDataFactory -ResourceGroupName $rgname -Name $dfName
149-
150-
Assert-AreEqual $dfGetResult.Count 1
151-
152-
Remove-AzureDataFactory -Name $dfName -ResourceGroupName $rgname -Force
153127
}

src/ResourceManager/DataFactories/Commands.DataFactories.Test/SessionRecords/Microsoft.Azure.Commands.DataFactories.Test.DataFactoryTests/TestCreateAndOverwriteDataFactory.json

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

0 commit comments

Comments
 (0)