Skip to content

[fix][test] Fix flaky MessageChunkingSharedTest.testMultiConsumers timeout#25475

Merged
merlimat merged 1 commit intoapache:masterfrom
merlimat:fix/flaky-MessageChunkingSharedTest
Apr 6, 2026
Merged

[fix][test] Fix flaky MessageChunkingSharedTest.testMultiConsumers timeout#25475
merlimat merged 1 commit intoapache:masterfrom
merlimat:fix/flaky-MessageChunkingSharedTest

Conversation

@merlimat
Copy link
Copy Markdown
Contributor

@merlimat merlimat commented Apr 5, 2026

Motivation

MessageChunkingSharedTest.testMultiConsumers is flaky because the Awaitility timeout is only 3 seconds. The test sends 10 chunked messages (40 total chunks) to two shared consumers, and chunk reassembly under CI load can exceed 3 seconds.

Stack trace

MessageChunkingSharedTest > testMultiConsumers FAILED
    org.awaitility.core.ConditionTimeoutException: Condition was not fulfilled within 3 seconds.
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
        at MessageChunkingSharedTest.testMultiConsumers(MessageChunkingSharedTest.java:122)

Modifications

Increase Awaitility timeout from 3 seconds to 15 seconds.

Documentation

  • doc-not-needed

…meout

Increase Awaitility timeout from 3 seconds to 15 seconds. Chunked
message reassembly across two shared consumers with 40 total chunks
can take longer than 3 seconds under CI load.
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Apr 5, 2026
@merlimat merlimat merged commit eac628f into apache:master Apr 6, 2026
43 of 45 checks passed
@merlimat merlimat deleted the fix/flaky-MessageChunkingSharedTest branch April 6, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/test doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants