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

Sentry.Tests.HubTests.FlushOnDispose_SendsEnvelope Flaky on iOS #3765

Open
jamescrosswell opened this issue Nov 18, 2024 · 0 comments
Open
Labels
Flaky Test A test fails intermittently, passes on retry. Productivity killer. Repository Maintenance

Comments

@jamescrosswell
Copy link
Collaborator

E.g. this build run:

Sentry.Tests.dll
Sentry.Tests.HubTests.FlushOnDispose_SendsEnvelope(cachingEnabled: True) - Failed
NSubstitute.Exceptions.ReceivedCallsException : Expected to receive exactly 1 call matching:
	SendEnvelopeAsync(any Envelope, any CancellationToken)
Actually received no matching calls.
at NSubstitute.Core.ReceivedCallsExceptionThrower.Throw(ICallSpecification callSpecification, IEnumerable`1 matchingCalls, IEnumerable`1 nonMatchingCalls, Quantity requiredQuantity)
   at NSubstitute.Routing.Handlers.CheckReceivedCallsHandler.Handle(ICall call)
   at NSubstitute.Routing.Route.Handle(ICall call)
   at NSubstitute.Core.CallRouter.Route(ICall call)
   at NSubstitute.Proxies.CastleDynamicProxy.CastleForwardingInterceptor.Intercept(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at NSubstitute.Proxies.CastleDynamicProxy.ProxyIdInterceptor.Intercept(IInvocation invocation)
   at Castle.DynamicProxy.AbstractInvocation.Proceed()
   at Castle.Proxies.ObjectProxy_5.SendEnvelopeAsync(Envelope envelope, CancellationToken cancellationToken)
   at Sentry.Tests.HubTests.FlushOnDispose_SendsEnvelope(Boolean cachingEnabled)
--- End of stack trace from previous location ---
@jamescrosswell jamescrosswell added Flaky Test A test fails intermittently, passes on retry. Productivity killer. Repository Maintenance labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flaky Test A test fails intermittently, passes on retry. Productivity killer. Repository Maintenance
Projects
Status: No status
Development

No branches or pull requests

1 participant