-
Notifications
You must be signed in to change notification settings - Fork 225
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
Investigate flaky tests after 1.3.11 release and re-activate #274
Labels
status/need-investigation
This needs more in-depth investigation
type/bug
A general bug
type/chore
A task not related to code (build, formatting, process, ...)
Comments
simonbasle
added
type/bug
A general bug
status/need-investigation
This needs more in-depth investigation
type/chore
A task not related to code (build, formatting, process, ...)
labels
Mar 11, 2022
simonbasle
added a commit
that referenced
this issue
Mar 11, 2022
garyrussell
added a commit
to garyrussell/reactor-kafka
that referenced
this issue
Mar 17, 2022
See reactor#274 This test had several problems: The second part of the test was receiving from the original topic instead of the destination topic so it always succeeeded in finding all the records. When this was changed to consume from the proper topic, it always failed. This was because the `.take(count)` in `receiveAndSendTransactions` caused the flux to be canceled before the final commit took place. Added a callback hook to the `TransactionManager` so we can test that the commit is complete before terminating the flux. It is not clear whether these fixes will resolve the original problem so I have left diagnostics for future failure analysis. Also capture test results in the publish action.
garyrussell
added a commit
to garyrussell/reactor-kafka
that referenced
this issue
Mar 17, 2022
See reactor#274 This test had several problems: The second part of the test was receiving from the original topic instead of the destination topic so it always succeeeded in finding all the records. When this was changed to consume from the proper topic, it always failed. This was because the `.take(count)` in `receiveAndSendTransactions` caused the flux to be canceled before the final commit took place. Added a callback hook to the `TransactionManager` so we can test that the commit is complete before terminating the flux. It is not clear whether these fixes will resolve the original problem so I have left diagnostics for future failure analysis. Also capture test results in the publish action.
garyrussell
added a commit
that referenced
this issue
Jun 14, 2022
* KafkaReceiverTest.transactionalOffsetCommit Fixes See #274 This test had several problems: The second part of the test was receiving from the original topic instead of the destination topic so it always succeeeded in finding all the records. When this was changed to consume from the proper topic, it always failed. This was because the `.take(count)` in `receiveAndSendTransactions` caused the flux to be canceled before the final commit took place. Added a callback hook to the `TransactionManager` so we can test that the commit is complete before terminating the flux. It is not clear whether these fixes will resolve the original problem so I have left diagnostics for future failure analysis. Also capture test results in the publish action. * Cancel inner Flux from .thenMany() when complete. * Fix autoCommitFailurePropagationAfterRetries Clear any remaining crud in `receivedMessages`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
status/need-investigation
This needs more in-depth investigation
type/bug
A general bug
type/chore
A task not related to code (build, formatting, process, ...)
After #268 was merged,
main
ci started to fail with seemingly flaky tests.These have been marked as
@Ignore
to allow for a release on tuesday, pending an investigation and fix of the root cause (hopefully, the tests themselves).The tests are:
(see https://github.com/reactor/reactor-kafka/runs/5513606287?check_suite_focus=true)
Stack trace
(see https://github.com/reactor/reactor-kafka/runs/5513811483?check_suite_focus=true)
Stack trace
The text was updated successfully, but these errors were encountered: