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 for test election.quorum_minimum_update_weight_before_quorum_checks #3932

Conversation

dsiganos
Copy link
Contributor

The problem was that there was a race condition between the rep crawler
background thread and rep_crawler::response(). For the response to be
processed as valid, a request must be marked in rep_crawler::active
container.

The problem was that there was a race condition between the rep crawler
background thread and rep_crawler::response(). For be response to be
processed as valid, a request must be marked in rep_crawler::active
container.
@dsiganos dsiganos force-pushed the fix_election_quorum_minimum_update_weight_before_quorum_checks branch from 29e64bd to bdf948a Compare August 30, 2022 23:54
pwojcikdev
pwojcikdev previously approved these changes Aug 31, 2022
Copy link
Contributor

@pwojcikdev pwojcikdev left a comment

Choose a reason for hiding this comment

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

It seems to me there should be a way for repcrawler to find node2 without resorting to manual injection of replies, but this solution seems to be valid and modifies very little of original test logic.

@dsiganos dsiganos force-pushed the fix_election_quorum_minimum_update_weight_before_quorum_checks branch from 36e7584 to 248eb87 Compare August 31, 2022 14:29
@dsiganos dsiganos merged commit a42f96c into nanocurrency:develop Aug 31, 2022
@dsiganos dsiganos deleted the fix_election_quorum_minimum_update_weight_before_quorum_checks branch August 31, 2022 16: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.

None yet

2 participants