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 Test request_aggregator.one_update #4615

Conversation

gr0vity-dev
Copy link
Contributor

I noticed that request_aggregator.one_update is failing intermittently (1/100 cases) because node.stats.count(nano::stat::type::requests, nano::stat::detail::requests_generated_votes)) is 2 instead of expected 1. However it will eventually always be 2.

I changed the test-case accordingly, but maybe there is un underlying issue if requests_generated_votes should be 1 rather than 2.

I also noticed that node.aggregator.empty ()is not guaranteed to be true immediately in about 1/2000 cases for me.

@gr0vity-dev gr0vity-dev force-pushed the prs/fix_request_aggregator-one_update branch from 6583723 to 6783fd7 Compare May 14, 2024 08:21
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.

2 participants