Skip to content
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

Unstable tests #1041

Open
AArnott opened this issue May 19, 2022 · 0 comments
Open

Unstable tests #1041

AArnott opened this issue May 19, 2022 · 0 comments
Labels

Comments

@AArnott
Copy link
Member

AArnott commented May 19, 2022

We should investigate the test failures from the tests disabled in #1040.

SwitchToMainThreadShouldNotLeakJoinableTaskWhenGetResultRunsFirst

Assert.Null() Failure
Expected: (null)
Actual:   Object { }

 at JoinableTaskTests.SwitchToMainThreadShouldNotLeakJoinableTaskWhenGetResultRunsFirst() in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\JoinableTaskTests.cs:line 3462

SwitchToMainThreadMemoryLeak

Assert.Equal() Failure
Expected: TestPassed
Actual:   TestFailed

Stack trace
   at TestUtilities.<>c.<ExecuteInIsolationAsync>b__8_3(Task`1 t) in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\TestUtilities.cs:line 248
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TestBase.ExecuteInIsolation(String testMethodName) in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\TestBase.cs:line 362
   at JoinableTaskTests.SwitchToMainThreadMemoryLeak() in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\JoinableTaskTests.cs:line 3161

SwitchToMainThreadMemoryLeakWithCancellationToken

Assert.Equal() Failure
Expected: TestPassed
Actual:   TestFailed

Stack trace
   at TestUtilities.<>c.<ExecuteInIsolationAsync>b__8_3(Task`1 t) in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\TestUtilities.cs:line 248
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at TestBase.ExecuteInIsolation(String testMethodName) in D:\a\1\s\test\Microsoft.VisualStudio.Threading.Tests\TestBase.cs:line 362
   at JoinableTaskTests.SwitchToMainThreadMemoryLeakWithCancellationToken()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant