File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
src/ResourceManager/Sql/Commands.Sql.Test/ScenarioTests Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change @@ -507,7 +507,8 @@ Gets the parameters for import/export tests
507
507
function Get-SqlDatabaseImportExportTestEnvironmentParameters ($testSuffix )
508
508
{
509
509
$databaseName = " sql-ie-cmdlet-db" + $testSuffix ;
510
- $password = [Microsoft.Azure.Test.TestUtilities ]::GenerateName(" IEp@ssw0rd" );
510
+ # TODO: Remove "CallSite.Target" when re-recording ImportExportTests
511
+ $password = [Microsoft.Rest.ClientRuntime.Azure.TestFramework.TestUtilities ]::GenerateName(" IEp@ssw0rd" , " CallSite.Target" );
511
512
# Fake storage account data. Used for playback mode
512
513
$exportBacpacUri = " http://test.blob.core.windows.net/bacpacs"
513
514
$importBacpacUri = " http://test.blob.core.windows.net/bacpacs/test.bacpac"
Original file line number Diff line number Diff line change @@ -25,25 +25,20 @@ public ImportExportTests(ITestOutputHelper output) : base(output)
25
25
{
26
26
}
27
27
28
- #if NETSTANDARD
29
- [ Fact ( Skip = "Cannot run Get-SqlDatabaseImportExportTestEnvironmentParameters -> GetName due to version differences" ) ]
30
- [ Trait ( Category . RunType , Category . DesktopOnly ) ]
31
- #else
28
+
32
29
[ Fact ]
33
- #endif
34
30
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
31
+ [ Trait ( Category . Sql , "Needs to be re-recorded" ) ]
32
+ // TODO: Remove "CallSite.Target" from Get-SqlDatabaseImportExportTestEnvironmentParameters in GetName when re-recording
35
33
public void TestExportDatabase ( )
36
34
{
37
35
RunPowerShellTest ( "Test-ExportDatabase" ) ;
38
36
}
39
37
40
- #if NETSTANDARD
41
- [ Fact ( Skip = "Cannot run Get-SqlDatabaseImportExportTestEnvironmentParameters -> GetName due to version differences" ) ]
42
- [ Trait ( Category . RunType , Category . DesktopOnly ) ]
43
- #else
44
38
[ Fact ]
45
- #endif
46
39
[ Trait ( Category . AcceptanceType , Category . CheckIn ) ]
40
+ [ Trait ( Category . Sql , "Needs to be re-recorded" ) ]
41
+ // TODO: Remove "CallSite.Target" from Get-SqlDatabaseImportExportTestEnvironmentParameters in GetName when re-recording
47
42
public void TestImportDatabase ( )
48
43
{
49
44
RunPowerShellTest ( "Test-ImportDatabase" ) ;
You can’t perform that action at this time.
0 commit comments