Skip to content

Flaky tests #1704

Merged
jeanouii merged 7 commits intoapache:mainfrom
jeanouii:fix/QueueZeroPrefetchLazyDispatchPriorityTest
Feb 20, 2026
Merged

Flaky tests #1704
jeanouii merged 7 commits intoapache:mainfrom
jeanouii:fix/QueueZeroPrefetchLazyDispatchPriorityTest

Conversation

@jeanouii
Copy link
Contributor

@jeanouii jeanouii commented Feb 19, 2026

This PR improves test reliability by hardening timing-sensitive assertions and connection-failure handling across several flaky test suites.

What changed

  • Improved QueueZeroPrefetchLazyDispatchPriorityTest message enqueue/dequeue assertions and logging.
  • Fixed flaky advisory propagation waits in TwoBrokerVirtualTopicSelectorAwareForwardingTest.
  • Added/adjusted waits for broker-side connection drop processing in redelivery scenarios.
  • Handled IllegalStateException paths in AMQ3166Test to avoid async-send transaction hangs.

Overall, this is a test-focused change set intended to reduce intermittent CI failures without changing production broker behavior.

@jeanouii
Copy link
Contributor Author

Failing with BrokerNetworkWithStuckMessagesTest
It's another flaky test I need to fix looks like

@jeanouii jeanouii changed the title Enhance QueueZeroPrefetchLazyDispatchPriorityTest with improved messa… Flaky tests Feb 20, 2026
@jeanouii jeanouii merged commit 8d51a29 into apache:main Feb 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments