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 RedisEntityListenerTest.onSlowPublish #2214

Merged
merged 1 commit into from
Jul 1, 2021
Merged

Conversation

steven-sheehy
Copy link
Member

@steven-sheehy steven-sheehy commented Jul 1, 2021

Description:
Fix race condition in RedisEntityListenerTest.onSlowPublish by switching to Flux and waiting for all messages to be published before verifying.

Related issue(s):

Notes for reviewer:

Checklist

  • Documentation added
  • Tests added

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
@steven-sheehy steven-sheehy added bug Type: Something isn't working P1 test Test infrastructure, automated tests required, etc labels Jul 1, 2021
@steven-sheehy steven-sheehy added this to the Mirror 0.37.0 milestone Jul 1, 2021
@steven-sheehy steven-sheehy requested a review from a team July 1, 2021 17:35
@steven-sheehy steven-sheehy self-assigned this Jul 1, 2021
@codecov
Copy link

codecov bot commented Jul 1, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@baee393). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2214   +/-   ##
=======================================
  Coverage        ?   81.66%           
  Complexity      ?     2134           
=======================================
  Files           ?      414           
  Lines           ?    11150           
  Branches        ?      945           
=======================================
  Hits            ?     9106           
  Misses          ?     1735           
  Partials        ?      309           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update baee393...f93cd4f. Read the comment docs.

@sonarcloud
Copy link

sonarcloud bot commented Jul 1, 2021

Copy link
Collaborator

@xin-hedera xin-hedera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@steven-sheehy steven-sheehy merged commit 2e57493 into main Jul 1, 2021
@steven-sheehy steven-sheehy deleted the fix-onslowpublish branch July 1, 2021 22:24
ijungmann pushed a commit that referenced this pull request Jul 16, 2021
Fix race condition in RedisEntityListenerTest.onSlowPublish by switching to Flux and waiting for all messages to be published before verifying.

Signed-off-by: Steven Sheehy <steven.sheehy@hedera.com>
Signed-off-by: Ian Jungmann <ian.jungmann@hedera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Type: Something isn't working P1 test Test infrastructure, automated tests required, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants