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

[1.0-beta2] Test: Allow time for blocks to reach snapshot node #253

Merged
merged 3 commits into from
Jun 7, 2024

Conversation

heifner
Copy link
Member

@heifner heifner commented Jun 7, 2024

Update test to allow time for blocks to reach and be processed by the irreversible node before creating snapshot.

Resolves #246

@heifner heifner added the OCI Work exclusive to OCI team label Jun 7, 2024
@heifner heifner linked an issue Jun 7, 2024 that may be closed by this pull request
@heifner heifner requested review from linh2931 and greg7mdp June 7, 2024 12:15
@@ -79,6 +79,9 @@ def isSetProdsBlockNumIrr():

producerNode.kill(signal.SIGTERM)

# wait for all blocks to arrive and be processed by irrNode
time.sleep(1)
Copy link
Member

Choose a reason for hiding this comment

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

If for simplicity we don't verify all blocks have arrived, we might as well wait a little longer like 3 seconds to prevent flakeness.

@heifner heifner merged commit 39402be into release/1.0-beta2 Jun 7, 2024
36 checks passed
@heifner heifner deleted the GH-246-test-fix-beta2 branch June 7, 2024 17:53
@ericpassmore
Copy link
Contributor

Note:start
group: STABILITY
category: TEST
summary: Update test allow time for blocks to reach snapshot node.
Note:end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test Failure: nodeos_chainbase_allocation_if_test
4 participants