tkaymak opened a new issue, #38946: URL: https://github.com/apache/beam/issues/38946
### What happened? `org.apache.beam.sdk.io.aws2.sqs.SqsIOWriteBatchesTest` is flaky in the `beam_PreCommit_Java_Amazon-Web-Services2_IO_Direct` workflow. Different test methods of the same class fail intermittently with Mockito verification errors (`org.mockito.exceptions.verification.junit.ArgumentsAreDifferent`), which points to a timing-sensitive interaction with the batching/timeout logic under test: - `testWriteBatchesWithTimeout` — https://github.com/apache/beam/actions/runs/27417091199/job/81032556571 (2026-06-12, PR #38493: `369 tests completed, 1 failed`) - `testWriteBatchesToDynamicWithTimeout` and `testWriteBatchesToDynamicWithStrictTimeout` — observed earlier on PR #38255 runs (2026-04-28, e.g. commits `e8e107ce`, `b344c3ca`, see https://github.com/apache/beam/pull/38255#issuecomment-4333407773) The job is green on most `master` runs (last several scheduled runs passed), so this is an intermittent flake rather than a consistent breakage, but it has been recurring for months and regularly turns unrelated PRs red. ### Issue Priority Priority: 2 (default / most failing tests should be filed as P2) ### Issue Components - [ ] Component: Python SDK - [X] Component: Java SDK -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
