sentry-unity
sentry-unity copied to clipboard
Fix flaky test `ErrorTimeDebounce`
Possible flaky test ErrorTimeDebounce
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : Test run completed with 1 failing tests. [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : Expected: False [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : But was: True [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : ErrorTimeDebounce [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
/Users/runner/work/sentry-unity/sentry-unity/Directory.Build.targets(220,5): error : [/Users/runner/work/sentry-unity/sentry-unity/test/Sentry.Unity.Tests/Sentry.Unity.Tests.csproj]
Error: Process completed with exit code 1.
+1 Definitely flakey.
Just got another failed build due to it 🤕
Debounce functionality is opt-in for the user by default now. Debouce tests return as inconclusive to stop the flakeyness.
Should be fixed together with: https://github.com/getsentry/sentry-unity/issues/501
and https://github.com/getsentry/sentry-unity/pull/685