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

flaky test in ProjectionTestKitSpec #240

Closed
pjfanning opened this issue Jan 6, 2025 · 2 comments
Closed

flaky test in ProjectionTestKitSpec #240

pjfanning opened this issue Jan 6, 2025 · 2 comments

Comments

@pjfanning
Copy link
Contributor

[info] ProjectionTestKitSpec:
[info] ProjectionTestKit
[info] - must assert progress of a projection (506 milliseconds)
[info] - must retry assertion function until it succeeds within a max timeout *** FAILED *** (1 second, 964 milliseconds)
[info]   "1-2-3-4-5[]" was not equal to "1-2-3-4-5[-6]" (ProjectionTestKitSpec.scala:71)
[info]   org.scalatest.exceptions.TestFailedException:
[info]   at org.scalatest.matchers.MatchersHelper$.indicateFailure(MatchersHelper.scala:392)
@ptrdom
Copy link
Member

ptrdom commented Jan 6, 2025

I think bumping the timeout is a good enough solution here - in similar cases the assertions would have passed if they waited for just a little bit more. With the relatively slow GitHub CI machines there is not much else that can be done.

@pjfanning
Copy link
Contributor Author

#241 merged

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

No branches or pull requests

2 participants