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

Fix thread safety bug in eventing unit tests #746

Merged

Conversation

bestbeforetoday
Copy link
Member

@bestbeforetoday bestbeforetoday commented Sep 6, 2024

A sequencing error in the test service implementation meant that request message were acknowledged before they had been stored on the received request queue. This introduced a race condition where tests could check for received requests before the receiving thread had processed them.

Also update Maven plugins and test dependencies.

Closes #696

A sequencing error in the test service implementation meant that
request message were acknowledged before they had been stored on the
received request queue. This introduced a race condition where tests
could check for received requests before the receiving thread had
processed them.

Also update Maven plugins and test dependencies.

Signed-off-by: Mark S. Lewis <[email protected]>
@bestbeforetoday bestbeforetoday marked this pull request as ready for review September 6, 2024 16:00
@bestbeforetoday bestbeforetoday requested a review from a team as a code owner September 6, 2024 16:00
@bestbeforetoday bestbeforetoday enabled auto-merge (squash) September 6, 2024 16:00
@bestbeforetoday bestbeforetoday merged commit 1455ece into hyperledger:main Sep 9, 2024
29 checks passed
@bestbeforetoday bestbeforetoday deleted the unit-test-thread-safety branch September 9, 2024 09:31
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.

Intermittent failure in Java eventing unit tests
2 participants