Ben.Demystifier
Ben.Demystifier copied to clipboard
intermittent failure for NonThrownException.Current
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.