Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ARTEMIS-2659: address some more sporadic test failures #3077

Merged
merged 1 commit into from
Apr 13, 2020

Conversation

gemmellr
Copy link
Member

Fixes another couple races within the tests leading to sporafic failures:

The JMX checks of the queue count need a Wait to repeat where needed, as they aren't necessarily visible by the time the send returns.

The AMQP test clients recieveNoWait is a simple poll of a local queue, so there is no guarantee a message would have arrived at a consumer just because its producer send completed, a timed receive attempt should be used.

@asfgit asfgit closed this in 0a4ec3c Apr 13, 2020
@asfgit asfgit merged commit 0a4ec3c into apache:master Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants