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

intermittent failure for NonThrownException.Current #186

Open
SimonCropp opened this issue Dec 13, 2021 · 0 comments
Open

intermittent failure for NonThrownException.Current #186

SimonCropp opened this issue Dec 13, 2021 · 0 comments

Comments

@SimonCropp
Copy link
Contributor

Sentry dotnet relies on Ben.Demystifier. It is consumed as a git submodule. We also run the Ben.Demystifier tests as part of our build. We intermittently get a failure for Ben.Demystifier.Test.NonThrownException.Current on Ubuntu

https://github.com/getsentry/sentry-dotnet/runs/4501965612?check_suite_focus=true#step:7:247

Error: Ben.Demystifier.Test.NonThrownException.Current: Assert.Equal() Failure
  Failed Ben.Demystifier.Test.NonThrownException.Current [14 ms]
  Error Message:
   Assert.Equal() Failure
Expected: String[] ["   at bool System.Threading.ThreadPoolWorkQueue.Di"..., "   at void System.Threading.PortableThreadPool+Wor"..., "   at void System.Threading.Thread.StartCallback()"]
Actual:   WhereArrayIterator<String> ["   at bool System.Threading.ThreadPoolWorkQueue.Di"..., "   at void System.Threading.PortableThreadPool+Wor"...]
  Stack Trace:
     at Ben.Demystifier.Test.NonThrownException.Current() in /home/runner/work/sentry-dotnet/sentry-dotnet/modules/Ben.Demystifier/test/Ben.Demystifier.Test/NonThrownException.cs:line 110
--- End of stack trace from previous location ---
[xUnit.net 00:00:19.34]     Sentry.Tests.SentrySdkTests.Init_WithCache_BlocksUntilExistingCacheIsFlushed [SKIP]
  Skipped Sentry.Tests.SentrySdkTests.Init_WithCache_BlocksUntilExistingCacheIsFlushed [1 ms]

any ideas as to how to proceed? Since i am stumped.

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

No branches or pull requests

1 participant