Skip to content

ARTEMIS-6203 make MQTT resiliency soak tests more robust - #6639

Merged
jbertram merged 1 commit into
apache:mainfrom
jbertram:ARTEMIS-6203
Aug 24, 2026
Merged

ARTEMIS-6203 make MQTT resiliency soak tests more robust#6639
jbertram merged 1 commit into
apache:mainfrom
jbertram:ARTEMIS-6203

Conversation

@jbertram

Copy link
Copy Markdown
Contributor

There is a race in the soak tests which focus on resiliency for MQTT subscribers. There is a small window in between when the subscriber receives the initial PUBLISH packet (and records the receipt of the message) and when the broker receives the PUBREC and acknowledges the message. It's possible that the test will attempt to verify that the message is acknowledged during this window and fail.

The fix is simply to use Wait to verify the acknowledgement.

There is a race in the soak tests which focus on resiliency for MQTT
subscribers. There is a small window in between when the subscriber
receives the initial PUBLISH packet (and records the receipt of the
message) and when the broker receives the PUBREC and acknowledges the
message. It's possible that the test will attempt to verify that the
message is acknowledged during this window and fail.

The fix is simply to use Wait to verify the acknowledgement.
@clebertsuconic

Copy link
Copy Markdown
Contributor

LGTM

@jbertram
jbertram merged commit 434da68 into apache:main Aug 24, 2026
6 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