Skip to content

Commit c744659

Browse files
author
Hovsep
committed
Merge pull request #1007 from hovsepm/dev
[#104016000] Removed Profile test from post-checkin job since it requires user int…
2 parents 31d9ac0 + d7fb9c0 commit c744659

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

src/ResourceManager/Common/Commands.ScenarioTests.ResourceManager.Common/Constants.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public class Category
7171
// Run Type
7272
public const string RunType = "RunType";
7373
public const string LiveOnly = "LiveOnly";
74+
public const string Manual = "Manual";
7475
//Uncomment when we need to tag on only run under mock
7576
//public const string MockedOnly = "MockedOnly";
7677

src/ResourceManager/Profile/Commands.Profile.Test/LoginCmdletTests.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public LoginCmdletTests()
4242
}
4343

4444
[Fact]
45-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
45+
[Trait(Category.AcceptanceType, Category.Manual)]
4646
public void LoginWithSubscriptionAndTenant()
4747
{
4848
var cmdlt = new AddAzureRMAccountCommand();
@@ -61,7 +61,7 @@ public void LoginWithSubscriptionAndTenant()
6161
}
6262

6363
[Fact]
64-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
64+
[Trait(Category.AcceptanceType, Category.Manual)]
6565
public void LoginWithInvalidSubscriptionAndTenantThrowsCloudException()
6666
{
6767
var cmdlt = new AddAzureRMAccountCommand();
@@ -77,7 +77,7 @@ public void LoginWithInvalidSubscriptionAndTenantThrowsCloudException()
7777
}
7878

7979
[Fact]
80-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
80+
[Trait(Category.AcceptanceType, Category.Manual)]
8181
public void LoginWithSubscriptionAndNoTenant()
8282
{
8383
var cmdlt = new AddAzureRMAccountCommand();
@@ -95,7 +95,7 @@ public void LoginWithSubscriptionAndNoTenant()
9595
}
9696

9797
[Fact]
98-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
98+
[Trait(Category.AcceptanceType, Category.Manual)]
9999
public void LoginWithNoSubscriptionAndNoTenant()
100100
{
101101
var cmdlt = new AddAzureRMAccountCommand();
@@ -112,7 +112,7 @@ public void LoginWithNoSubscriptionAndNoTenant()
112112
}
113113

114114
[Fact]
115-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
115+
[Trait(Category.AcceptanceType, Category.Manual)]
116116
public void LoginWithNoSubscriptionAndTenant()
117117
{
118118
var cmdlt = new AddAzureRMAccountCommand();

src/ResourceManager/Profile/Commands.Profile.Test/TenantCmdletTests.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public TenantCmdletTests()
4242
}
4343

4444
[Fact]
45-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
45+
[Trait(Category.AcceptanceType, Category.Manual)]
4646
public void GetTenantWithTenantParameter()
4747
{
4848
var cmdlt = new GetAzureRMTenantCommand();
@@ -62,7 +62,7 @@ public void GetTenantWithTenantParameter()
6262
}
6363

6464
[Fact]
65-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
65+
[Trait(Category.AcceptanceType, Category.Manual)]
6666
public void GetTenantWithDomainParameter()
6767
{
6868
var cmdlt = new GetAzureRMTenantCommand();
@@ -82,7 +82,7 @@ public void GetTenantWithDomainParameter()
8282
}
8383

8484
[Fact]
85-
[Trait(Category.AcceptanceType, Category.LiveOnly)]
85+
[Trait(Category.AcceptanceType, Category.Manual)]
8686
public void GetTenantWithoutParameters()
8787
{
8888
var cmdlt = new GetAzureRMTenantCommand();

src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/MoveResourceTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ namespace Microsoft.Azure.Commands.Resources.Test.ScenarioTests
1818

1919
public class MoveResourceTest
2020
{
21-
[Fact]
21+
[Fact(Skip = "Need to re-record test")]
2222
// TODO: test takes too long, reduce time and then add to Category.CheckIn
2323
//[Trait(Category.AcceptanceType, Category.CheckIn)]
2424
public void TestMoveAzureResource()

src/ResourceManager/Resources/Commands.Resources.Test/ScenarioTests/ResourceTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public void TestGetResourcesViaPipingFromAnotherResource()
7777
ResourcesController.NewInstance.RunPsTest("Test-GetResourcesViaPipingFromAnotherResource");
7878
}
7979

80-
[Fact]
80+
[Fact(Skip = "Need to re-record test")]
8181
public void TestMoveAResourceTest()
8282
{
8383
ResourcesController.NewInstance.RunPsTest("Test-MoveAResource");

0 commit comments

Comments
 (0)