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: Removing flakiness from block_production.py #3173

Merged
merged 2 commits into from
Aug 15, 2020
Merged

Conversation

SkidanovAlex
Copy link
Collaborator

The test relies on being able to query all the nodes between every two blocks produced.
Before 7028068 it was likely but flaky, after it the test fails consistently.
It is due to the fact that store validity checks take ~0.35 seconds per get_status.
Disabling the validity checks for this test. It is generally OK, because practically
every other test (e.g. transactions.py) is a superset of this test in terms of coverage,
and would catch any storage inconsistency that this test would now miss.

Fixes #3143

Test plan:

http://nayduck.eastus.cloudapp.azure.com:3000/#/run/97

The test relies on being able to query all the nodes between every two blocks produced.
Before 7028068 it was likely but flaky, after it the test fails consistently.
It is due to the fact that store validity checks take ~0.35 seconds per `get_status`.
Disabling the validity checks for this test. It is generally OK, because practically
every other test (e.g. transactions.py) is a superset of this test in terms of coverage,
and would catch any storage inconsistency that this test would now miss.

Fixes #3143

Test plan:
---------
http://nayduck.eastus.cloudapp.azure.com:3000/#/run/97
@gitpod-io
Copy link

gitpod-io bot commented Aug 15, 2020

@SkidanovAlex SkidanovAlex merged commit 48bd846 into master Aug 15, 2020
@SkidanovAlex SkidanovAlex deleted the block_prod branch August 15, 2020 15:50
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.

block_production.py is flaky
2 participants