diff --git a/src/ResourceManager/Profile/Commands.Profile.Test/LongRunningCmdletTests.cs b/src/ResourceManager/Profile/Commands.Profile.Test/LongRunningCmdletTests.cs index 9131ac1d1690..998f5a6a3973 100644 --- a/src/ResourceManager/Profile/Commands.Profile.Test/LongRunningCmdletTests.cs +++ b/src/ResourceManager/Profile/Commands.Profile.Test/LongRunningCmdletTests.cs @@ -48,7 +48,7 @@ public LongRunningCmdletTests(ITestOutputHelper output) } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanReceiveAllStreams() { Mock mockRuntime; @@ -61,7 +61,7 @@ public void CanReceiveAllStreams() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanSupportShouldProcess() { Mock mockRuntime; @@ -74,7 +74,7 @@ public void CanSupportShouldProcess() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanSupportShouldContinue() { Mock mockRuntime; @@ -88,7 +88,7 @@ public void CanSupportShouldContinue() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanHandleCmdletException() { Mock mockRuntime; @@ -103,7 +103,7 @@ public void CanHandleCmdletException() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanHandleCmdletStop() { Mock mockRuntime; @@ -116,7 +116,7 @@ public void CanHandleCmdletStop() if (job.JobStateInfo.State != JobState.Completed) { job.StopJob(); - this.jobCompleted.WaitOne(TimeSpan.FromSeconds(10)); + this.jobCompleted.WaitOne(TimeSpan.FromHours(4)); Assert.Equal("Stopped", job.StatusMessage); } @@ -129,7 +129,7 @@ public void CanHandleCmdletStop() [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanHandleShouldProcessExceptionForConfirm() { Mock mockRuntime; @@ -145,7 +145,7 @@ public void CanHandleShouldProcessExceptionForConfirm() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanHandleShouldProcessExceptionForWhatIf() { Mock mockRuntime; @@ -162,7 +162,7 @@ public void CanHandleShouldProcessExceptionForWhatIf() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void CanHandleShouldContinueException() { Mock mockRuntime; @@ -177,7 +177,7 @@ public void CanHandleShouldContinueException() } [Fact] - [Trait(Category.AcceptanceType, Category.Flaky)] + [Trait(Category.AcceptanceType, Category.CheckIn)] public void JobCopiesCmdletParameterSet() { Mock mock = new Mock(); @@ -265,7 +265,7 @@ void WaitForCompletion(AzureLongRunningJob job, Action vali try { HandleStateChange(job, new JobStateEventArgs(job.JobStateInfo, new JobStateInfo(JobState.NotStarted))); - this.jobCompleted.WaitOne(TimeSpan.FromSeconds(30)); + jobCompleted.WaitOne(TimeSpan.FromHours(4)); validate(job); } finally