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

GetFlushableBuckets_IsThreadsafe failed on CI #3290

Open
bruno-garcia opened this issue Apr 12, 2024 · 2 comments
Open

GetFlushableBuckets_IsThreadsafe failed on CI #3290

bruno-garcia opened this issue Apr 12, 2024 · 2 comments
Labels
Bug Something isn't working Flaky Test A test fails intermittently, passes on retry. Productivity killer.

Comments

@bruno-garcia
Copy link
Member

https://github.com/getsentry/sentry-dotnet/actions/runs/8663102444/attempts/1

Failed on iOS only

Expected value to be 100000, but found 99972 (difference of -28).
at FluentAssertions.Execution.XUnit2TestFramework.Throw(String message)
   at FluentAssertions.Execution.TestFrameworkProvider.Throw(String message)
   at FluentAssertions.Execution.DefaultAssertionStrategy.HandleFailure(String message)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(Func`1 failReasonFunc)
   at FluentAssertions.Execution.AssertionScope.FailWith(String message, Object[] args)
   at FluentAssertions.Numeric.NumericAssertions`2[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[FluentAssertions.Numeric.NumericAssertions`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], FluentAssertions, Version=6.12.0.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a]].Be(Int32 expected, String because, Object[] becauseArgs)
   at Sentry.Tests.MetricAggregatorTests.GetFlushableBuckets_IsThreadsafe()
--- End of stack trace from previous location ---
@bruno-garcia
Copy link
Member Author

Or maybe its' not thread safe O_O

@jamescrosswell
Copy link
Collaborator

Or maybe its' not thread safe O_O

Yeah that was the point of the test...

@jamescrosswell jamescrosswell changed the title Flaky test: GetFlushableBuckets_IsThreadsafe GetFlushableBuckets_IsThreadsafe failed on CI Apr 14, 2024
@bitsandfoxes bitsandfoxes added Flaky Test A test fails intermittently, passes on retry. Productivity killer. Bug Something isn't working labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Flaky Test A test fails intermittently, passes on retry. Productivity killer.
Projects
Status: No status
Development

No branches or pull requests

3 participants