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 flaky TestDealPublisher and re-enable #6991

Merged
merged 1 commit into from
Aug 6, 2021
Merged

Conversation

Stebalien
Copy link
Member

fixes #6799

(wanted to see if the issues were related to event handling, but they aren't)

@Stebalien Stebalien requested a review from a team as a code owner August 6, 2021 02:24
@Stebalien Stebalien requested review from dirkmc and raulk August 6, 2021 02:25
if uint64(len(p.pending)) >= p.maxDealsPerPublishMsg {
// If the maximum number of deals per message has been reached or we're not batching, send a
// publish message
if uint64(len(p.pending)) >= p.maxDealsPerPublishMsg || p.publishPeriod == 0 {
Copy link
Member Author

Choose a reason for hiding this comment

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

not strictly necessary but makes testing a bit easier (I think?)

@Stebalien Stebalien force-pushed the fix/flaky-deal-test branch from b8a6d5e to 5c8f2a3 Compare August 6, 2021 02:43
@Stebalien Stebalien force-pushed the fix/flaky-deal-test branch from 5c8f2a3 to be2ecf6 Compare August 6, 2021 02:46
@Stebalien Stebalien merged commit f7e2885 into master Aug 6, 2021
@Stebalien Stebalien deleted the fix/flaky-deal-test branch August 6, 2021 10:15
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.

TestDealPublisher is flaky
2 participants