-
Notifications
You must be signed in to change notification settings - Fork 387
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
[Failed] CommittingWithMockSpec should collect commits to be sent to commitAsync #895
Comments
I think the problem is on : alpakka-kafka/tests/src/test/scala/akka/kafka/internal/CommittingWithMockSpec.scala Lines 216 to 222 in 4f7760f
It's a block that attempts to wait until all the commits have been submitted by counting how many callbacks were registered. The invocations to The consequence is that emulating the commit: alpakka-kafka/tests/src/test/scala/akka/kafka/internal/CommittingWithMockSpec.scala Lines 224 to 230 in 4f7760f
then is not invoking all the callbacks but just the first few blocks (the fast ones). This leaves a handful of messages uncommited causing the test to fail. This can be reproduced locally commenting the await block: // withClue("the commits are aggregated to a low number of calls to commitAsync:") {
// awaitAssert {
// val callsToCommitAsync = commitLog.calls.size
// callsToCommitAsync should be >= 1
// callsToCommitAsync should be < count / 10
// }
// } |
Fixed (?) in #1047. We can reopen if the issue is not solved completely. |
It shows in a new variant in
https://travis-ci.org/github/akka/alpakka-kafka/jobs/674754524#L660 |
It's back. https://travis-ci.org/github/akka/alpakka-kafka/jobs/696759317#L626
|
https://travis-ci.org/akka/alpakka-kafka/jobs/581091376#L827
The text was updated successfully, but these errors were encountered: