Skip to content

[Test Controller] New test controller applied to Compute #8273

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

Conversation

vladimir-shcherbakov
Copy link
Contributor

@vladimir-shcherbakov vladimir-shcherbakov commented Jan 10, 2019

Description

Checklist

@vladimir-shcherbakov vladimir-shcherbakov changed the title New test controller applied to Compute [Test Controller] New test controller applied to Compute Jan 10, 2019
helper.RMProfileModule,
#if !NETSTANDARD
helper.RMStorageDataPlaneModule,
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please delete this #if statement as it is not used.

}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestExportLogAnalyticThrottledRequestsNegative()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-ExportLogAnalyticThrottledRequestsNegative");
TestRunner.RunTestScript("Test-ExportLogAnalyticThrottledRequestsNegative");

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excess carriage return.

}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVm()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVm");
TestRunner.RunTestScript("Test-SimpleNewVm");

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excess carriage return.

@@ -37,43 +38,49 @@ public StrategiesVmssTests(Xunit.Abstractions.ITestOutputHelper output)
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVmss()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmss");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmss");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVmssFromSIGImage()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssFromSIGImage");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssFromSIGImage");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVmssWithUltraSSD()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssWithUltraSSD");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssWithUltraSSD");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVmssLbErrorScenario()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssLbErrorScenario");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssLbErrorScenario");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVmssWithSystemAssignedIdentity()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssWithSystemAssignedIdentity");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssWithSystemAssignedIdentity");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

}


[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void TestSimpleNewVmssImageName()
{
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssImageName");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssImageName");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

@@ -95,38 +102,21 @@ public void TestSimpleNewVmssWithSystemAssignedUserAssignedIdentity()
* Get-AzureRmUserAssignedIdentity -ResourceGroupName UAITG123456 -Name UAITG123456Identity
* Nore down the Id and use it in the PS code
* */
ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssWithsystemAssignedUserAssignedIdentity");
// ComputeTestController.NewInstance.RunPsTest(_logger, "Test-SimpleNewVmssWithsystemAssignedUserAssignedIdentity");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove commented code.

# Conflicts:
#	src/Compute/Compute.Test/Common/ComputeTestController.cs
@vladimir-shcherbakov
Copy link
Contributor Author

@hyonholee We are applying a new test controller - could you take a look?

@vladimir-shcherbakov
Copy link
Contributor Author

@MiYanni Are you ready to sign off?

@vladimir-shcherbakov
Copy link
Contributor Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants