Skip to content

[Failing Test]: SqsIOWriteBatchesTest is flaky (Mockito ArgumentsAreDifferent in timeout-related tests) #38946

@tkaymak

Description

@tkaymak

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:

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
  • Component: Java SDK

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions