Skip to content

Update TestMappings.json and fix broken RecoveryServices.Backup tests #5431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 52 additions & 40 deletions TestMappings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,24 @@
".github": [],
"documentation": [],
"setup": [],
"src/ResourceManager/AnalysisServices/": [],
".gitattributes": [],
"CONTRIBUTING.md": [],
"ChangeLog.md": [],
"LICENSE.txt": [],
"README.md": [],
"appveyor.yml": [],
"src/Common/Commands.Common.Authentication.Test/": [
".\\src\\Common\\Commands.Common.Authentication.Test\\bin\\Debug\\Microsoft.Azure.Commands.Common.Authentication.Test.dll"
],
"src/ResourceManager/AnalysisServices/": [
".\\src\\ResourceManager\\AnalysisServices\\Commands.AnalysisServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.AnalysisServices.Test.dll"
],
"src/ResourceManager/ApiManagement/": [
".\\src\\ResourceManager\\ApiManagement\\Commands.ApiManagement.Test\\bin\\Debug\\Microsoft.Azure.Commands.ApiManagement.Test.dll"
],
"src/ResourceManager/ApplicationInsights/": [
".\\src\\ResourceManager\\ApplicationInsights\\Commands.ApplicationInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.ApplicationInsights.Test.dll"
],
"src/ResourceManager/Automation/": [
".\\src\\ResourceManager\\Automation\\Commands.Automation.Test\\bin\\Debug\\Microsoft.Azure.Commands.ResourceManager.Automation.Test.dll"
],
Expand All @@ -15,7 +29,6 @@
"src/ResourceManager/AzureBatch/": [
".\\src\\ResourceManager\\AzureBatch\\Commands.Batch.Test\\bin\\Debug\\Microsoft.Azure.Commands.Batch.Test.dll"
],
"src/ResourceManager/AzureStackStorage/": [],
"src/ResourceManager/Billing/": [
".\\src\\ResourceManager\\Billing\\Commands.Billing.Test\\bin\\Debug\\Microsoft.Azure.Commands.Billing.Test.dll"
],
Expand All @@ -26,17 +39,24 @@
".\\src\\ResourceManager\\CognitiveServices\\CognitiveServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.Management.CognitiveServices.Test.dll"
],
"src/ResourceManager/Compute/": [
".\\src\\ResourceManager\\Compute\\Commands.Compute.Test\\bin\\Debug\\Microsoft.Azure.Commands.Compute.Test.dll"
".\\src\\ResourceManager\\Compute\\Commands.Compute.Test\\bin\\Debug\\Microsoft.Azure.Commands.Compute.Test.dll",
".\\src\\ResourceManager\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.Azure.Commands.Network.Test.dll",
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll"
],
"src/ResourceManager/Consumption/": [
".\\src\\ResourceManager\\Consumption\\Commands.Consumption.Test\\bin\\Debug\\Microsoft.Azure.Commands.Consumption.Test.dll"
],
"src/ResourceManager/ContainerInstance/": [
".\\src\\ResourceManager\\ContainerInstance\\Commands.ContainerInstance.Test\\bin\\Debug\\Microsoft.Azure.Commands.ContainerInstance.Test.dll"
],
"src/ResourceManager/ContainerRegistry/": [
".\\src\\ResourceManager\\ContainerRegistry\\Commands.ContainerRegistry.Test\\bin\\Debug\\Microsoft.Azure.Commands.ContainerRegistry.Test.dll"
],
"src/ResourceManager/DataFactories/": [
".\\src\\ResourceManager\\DataFactories\\Commands.DataFactories.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataFactories.Test.dll",
".\\src\\ResourceManager\\DataFactories\\Commands.DataFactoryV2.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataFactoryV2.Test.dll"
".\\src\\ResourceManager\\DataFactories\\Commands.DataFactoryV2.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataFactoryV2.Test.dll",
".\\src\\ResourceManager\\StreamAnalytics\\Commands.StreamAnalytics.Test\\bin\\Debug\\Microsoft.Azure.Commands.StreamAnalytics.Test.dll"
],
"src/ResourceManager/DataLakeAnalytics/": [
".\\src\\ResourceManager\\DataLakeAnalytics\\Commands.DataLakeAnalytics.Test\\bin\\Debug\\Microsoft.Azure.Commands.DataLakeAnalytics.Test.dll"
Expand All @@ -55,7 +75,9 @@
".\\src\\ResourceManager\\EventGrid\\Commands.EventGrid.Test\\bin\\Debug\\Microsoft.Azure.Commands.EventGrid.Test.dll"
],
"src/ResourceManager/EventHub/": [
".\\src\\ResourceManager\\EventHub\\Commands.EventHub.Test\\bin\\Debug\\Microsoft.Azure.Commands.EventHubs.Test.dll"
".\\src\\ResourceManager\\EventGrid\\Commands.EventGrid.Test\\bin\\Debug\\Microsoft.Azure.Commands.EventGrid.Test.dll",
".\\src\\ResourceManager\\EventHub\\Commands.EventHub.Test\\bin\\Debug\\Microsoft.Azure.Commands.EventHubs.Test.dll",
".\\src\\ResourceManager\\IotHub\\Commands.IotHub.Test\\bin\\Debug\\Microsoft.Azure.Commands.IotHub.Test.dll"
],
"src/ResourceManager/HDInsight/": [
".\\src\\ResourceManager\\HDInsight\\Commands.HDInsight.Test\\bin\\Debug\\Commands.HDInsight.Test.dll"
Expand All @@ -67,7 +89,9 @@
".\\src\\ResourceManager\\IotHub\\Commands.IotHub.Test\\bin\\Debug\\Microsoft.Azure.Commands.IotHub.Test.dll"
],
"src/ResourceManager/KeyVault/": [
".\\src\\ResourceManager\\KeyVault\\Commands.KeyVault.Test\\bin\\Debug\\Microsoft.Azure.Commands.KeyVault.Test.dll"
".\\src\\ResourceManager\\Compute\\Commands.Compute.Test\\bin\\Debug\\Microsoft.Azure.Commands.Compute.Test.dll",
".\\src\\ResourceManager\\KeyVault\\Commands.KeyVault.Test\\bin\\Debug\\Microsoft.Azure.Commands.KeyVault.Test.dll",
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll"
],
"src/ResourceManager/LogicApp/": [
".\\src\\ResourceManager\\LogicApp\\Commands.LogicApp.Test\\bin\\Debug\\Microsoft.Azure.Commands.LogicApp.Test.dll"
Expand All @@ -76,9 +100,16 @@
"src/ResourceManager/MachineLearningCompute/" : [
".\\src\\ResourceManager\\MachineLearningCompute\\Commands.MachineLearningCompute.Test\\bin\\Debug\\Microsoft.Azure.Commands.MachineLearningCompute.Test.dll"
],
"src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering.Test/": [
".\\src\\ResourceManager\\MarketplaceOrdering\\Commands.MarketplaceOrdering.Test\\bin\\Debug\\Microsoft.Azure.Commands.MarketplaceOrdering.Test.dll"
],
"src/ResourceManager/Media/": [],
"src/ResourceManager/Network/": [
".\\src\\ResourceManager\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.Azure.Commands.Network.Test.dll"
".\\src\\ResourceManager\\Compute\\Commands.Compute.Test\\bin\\Debug\\Microsoft.Azure.Commands.Compute.Test.dll",
".\\src\\ResourceManager\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.Azure.Commands.Network.Test.dll",
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
".\\src\\ResourceManager\\ServiceFabric\\Commands.ServiceFabric.Test\\bin\\Debug\\Microsoft.Azure.Commands.ServiceFabric.Test.dll",
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
],
"src/ResourceManager/NotificationHubs /": [
".\\src\\ResourceManager\\NotificationHubs\\Commands.NotificationHubs.Test\\bin\\Debug\\Microsoft.Azure.Commands.NotificationHubs.Test.dll"
Expand All @@ -89,24 +120,29 @@
"src/ResourceManager/PowerBIEmbedded/": [
".\\src\\ResourceManager\\PowerBIEmbedded\\Commands.PowerBIEmbedded.Test\\bin\\Debug\\Microsoft.Azure.Commands.PowerBIEmbedded.Test.dll"
],
"src/ResourceManager/Profile/Commands.Profile.Test/": [
".\\src\\ResourceManager\\Profile\\Commands.Profile.Test\\bin\\Debug\\Microsoft.Azure.Commands.Profile.Test.dll"
],
"src/ResourceManager/RecoveryServices.Backup/": [
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll"
],
"src/ResourceManager/RecoveryServices/": [
".\\src\\ResourceManager\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll"
".\\src\\ResourceManager\\RecoveryServices.Backup\\Commands.RecoveryServices.Backup.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Backup.Test.dll",
".\\src\\ResourceManager\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServicesArm.Test.dll",
".\\src\\ResourceManager\\SiteRecovery\\Commands.SiteRecovery.Test\\bin\\Debug\\Microsoft.Azure.Commands.SiteRecovery.Test.dll"
],
"src/ResourceManager/RedisCache/": [
".\\src\\ResourceManager\\RedisCache\\Commands.RedisCache.Test\\bin\\Debug\\Microsoft.Azure.Commands.RedisCache.Test.dll"
],
"src/ResourceManager/Relay/": [
".\\src\\ResourceManager\\Relay\\Commands.Relay.Test\\bin\\Debug\\Microsoft.Azure.Commands.Relay.Test.dll"
],
"src/ResourceManager/Resources/": [
".\\src\\ResourceManager\\Resources\\Commands.Resources.Test\\bin\\Debug\\Microsoft.Azure.Commands.Resources.Test.dll"
],
"src/ResourceManager/Reservations/": [
".\\src\\ResourceManager\\Reservations\\Commands.Reservations.Test\\bin\\Debug\\Microsoft.Azure.Commands.Reservations.Test.dll"
],
"src/ResourceManager/Resources/Commands.Resources.Test/": [
".\\src\\ResourceManager\\Resources\\Commands.Resources.Test\\bin\\Debug\\Microsoft.Azure.Commands.Resources.Test.dll"
],
"src/ResourceManager/Scheduler/": [
".\\src\\ResourceManager\\Scheduler\\Commands.Scheduler.Test\\bin\\Debug\\Microsoft.Azure.Commands.Scheduler.Test.dll"
],
Expand All @@ -123,7 +159,7 @@
"src/ResourceManager/Sql/": [
".\\src\\ResourceManager\\Sql\\Commands.Sql.Test\\bin\\Debug\\Microsoft.Azure.Commands.Sql.Test.dll"
],
"src/ResourceManager/Storage/": [
"src/ResourceManager/Storage/Commands.Management.Storage.Test/": [
".\\src\\ResourceManager\\Storage\\Commands.Management.Storage.Test\\bin\\Debug\\Microsoft.Azure.Commands.Management.Storage.Test.dll"
],
"src/ResourceManager/StreamAnalytics/": [
Expand All @@ -140,6 +176,7 @@
".\\src\\ResourceManager\\UsageAggregates\\Commands.UsageAggregates.Test\\bin\\Debug\\Microsoft.Azure.Commands.UsageAggregates.Test.dll"
],
"src/ResourceManager/Websites/": [
".\\src\\ResourceManager\\LogicApp\\Commands.LogicApp.Test\\bin\\Debug\\Microsoft.Azure.Commands.LogicApp.Test.dll",
".\\src\\ResourceManager\\Websites\\Commands.Websites.Test\\bin\\Debug\\Microsoft.Azure.Commands.Websites.Test.dll"
],
"src/ServiceManagement/": [
Expand All @@ -150,38 +187,13 @@
".\\src\\ServiceManagement\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Test.dll",
".\\src\\ServiceManagement\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"
],
"src/Storage/": [
".\\src\\Storage\\Commands.Storage.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.Storage.Test.dll",
".\\src\\ResourceManager\\Storage\\Commands.Management.Storage.Test\\bin\\Debug\\Microsoft.Azure.Commands.Management.Storage.Test.dll",
".\\src\\ServiceManagement\\Common\\Commands.Common.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.Common.Test.dll",
".\\src\\ServiceManagement\\Services\\Commands.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.Test.dll",
".\\src\\ServiceManagement\\StorSimple\\Commands.StorSimple.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.StorSimple.Test.dll",
".\\src\\ServiceManagement\\Common\\Commands.ScenarioTest\\bin\\Debug\\Microsoft.WindowsAzure.Commands.ScenarioTest.dll",
".\\src\\ServiceManagement\\RecoveryServices\\Commands.RecoveryServices.Test\\bin\\Debug\\Microsoft.Azure.Commands.RecoveryServices.Test.dll",
".\\src\\ServiceManagement\\Network\\Commands.Network.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.ServiceManagement.Network.Test.dll"
"src/Storage/Commands.Storage.Test/": [
".\\src\\Storage\\Commands.Storage.Test\\bin\\Debug\\Microsoft.WindowsAzure.Commands.Storage.Test.dll"
],
"tools/StaticAnalysis/": [
".\\tools\\StaticAnalysis\\StaticAnalysis.Test\\bin\\Debug\\StaticAnalysis.Test.dll"
],
"tools/BuildPackagesTask/": [
".\\tools\\BuildPackagesTask\\Microsoft.Azure.Build.Tasks.Test\\bin\\Debug\\Microsoft.Azure.Build.Tasks.Test.dll"
],
".gitattributes": [],
"CONTRIBUTING.md": [],
"ChangeLog.md": [],
"LICENSE.txt": [],
"README.md": [],
"appveyor.yml": [],
"src/Common/Commands.Common.Authentication.Test/": [
".\\src\\Common\\Commands.Common.Authentication.Test\\bin\\Debug\\Microsoft.Azure.Commands.Common.Authentication.Test.dll"
],
"src/ResourceManager/Profile/Commands.Profile.Test/": [
".\\src\\ResourceManager\\Profile\\Commands.Profile.Test\\bin\\Debug\\Microsoft.Azure.Commands.Profile.Test.dll"
],
"src/ResourceManager/MarketplaceOrdering/Commands.MarketplaceOrdering.Test/": [
".\\src\\ResourceManager\\MarketplaceOrdering\\Commands.MarketplaceOrdering.Test\\bin\\Debug\\Microsoft.Azure.Commands.MarketplaceOrdering.Test.dll"
],
"src/ResourceManager/ApplicationInsights/": [
".\\src\\ResourceManager\\ApplicationInsights\\Commands.ApplicationInsights.Test\\bin\\Debug\\Microsoft.Azure.Commands.ApplicationInsights.Test.dll"
]
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void TestAnalysisServicesServerScaleUpDown()
}

[Fact]
[Trait(Category.AcceptanceType, Category.LiveOnly)]
[Trait(Category.RunType, Category.LiveOnly)]
public void TestAnalysisServicesServerDisableBackup()
{
NewInstance.RunPsTest("Test-AnalysisServicesServerDisableBackup");
Expand All @@ -53,28 +53,28 @@ public void TestNegativeAnalysisServicesServer()
}

[Fact]
[Trait(Category.ServiceManagement, Category.LiveOnly)]
[Trait(Category.RunType, Category.LiveOnly)]
public void TestAnalysisServicesServerLogExport()
{
NewInstance.RunPsTest("Test-AnalysisServicesServerLogExport");
}

[Fact]
[Trait(Category.ServiceManagement, Category.LiveOnly)]
[Trait(Category.RunType, Category.LiveOnly)]
public void TestAnalysisServicesServerRestart()
{
NewInstance.RunPsTest("Test-AnalysisServicesServerRestart");
}

[Fact]
[Trait(Category.ServiceManagement, Category.LiveOnly)]
[Trait(Category.RunType, Category.LiveOnly)]
public void TestAnalysisServicesServerSynchronizeSingle()
{
NewInstance.RunPsTest("Test-AnalysisServicesServerSynchronizeSingle");
}

[Fact]
[Trait(Category.ServiceManagement, Category.LiveOnly)]
[Trait(Category.RunType, Category.LiveOnly)]
public void TestAnalysisServicesServerLoginWithSPN()
{
NewInstance.RunPsTest("Test-AnalysisServicesServerLoginWithSPN");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\..\packages\Microsoft.Azure.Common.2.1.0\lib\net45\Microsoft.Azure.Common.NetFramework.dll</HintPath>
</Reference>
<Reference Include="Microsoft.Azure.Management.Compute">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Compute.17.0.0\lib\net452\Microsoft.Azure.Management.Compute.dll</HintPath>
<Reference Include="Microsoft.Azure.Management.Compute, Version=17.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<HintPath>..\..\..\packages\Microsoft.Azure.Management.Compute.17.3.0\lib\net452\Microsoft.Azure.Management.Compute.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="Microsoft.Azure.Management.Network, Version=15.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package id="Hyak.Common" version="1.0.3" targetFramework="net45" />
<package id="Microsoft.Azure.Common" version="2.1.0" targetFramework="net45" />
<package id="Microsoft.Azure.Common.Dependencies" version="1.0.0" targetFramework="net45" />
<package id="Microsoft.Azure.Management.Compute" version="17.0.0" targetFramework="net452" />
<package id="Microsoft.Azure.Management.Compute" version="17.3.0" targetFramework="net452" />
<package id="Microsoft.Azure.Management.Network" version="15.1.0-preview" targetFramework="net452" />
<package id="Microsoft.Azure.Management.RecoveryServices" version="4.2.0-preview" targetFramework="net45" />
<package id="Microsoft.Azure.Management.RecoveryServices.Backup" version="2.1.0-preview" targetFramework="net45" />
Expand All @@ -27,4 +27,4 @@
<package id="xunit.extensibility.core" version="2.1.0" targetFramework="net45" />
<package id="xunit.extensibility.execution" version="2.1.0" targetFramework="net45" />
<package id="xunit.runner.visualstudio" version="2.1.0" targetFramework="net45" />
</packages>
</packages>