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

[5.0 -> main] Test: Retry set contract on failure #1737

Merged
merged 7 commits into from
Oct 9, 2023
Merged

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 9, 2023

Occasionally nodeos_extra_packed_data_test.py test would fail because the setting of the eosio.system contract would take longer than the max trx cpu time. I think this test was more likely to fail in this way because it spawns more nodeos than other tests: tests/nodeos_extra_packed_data_test.py -v -p 8. There is no reason for this test to spawn so many producers.

Added a retry to publishContract to give the set contract a few tries before considering it a true failure.

Merges release/5.0 into main including #1728

Resolves #1501

@heifner heifner linked an issue Oct 9, 2023 that may be closed by this pull request
@heifner heifner added the OCI Work exclusive to OCI team label Oct 9, 2023
@heifner heifner merged commit 6ffebba into main Oct 9, 2023
@heifner heifner deleted the GH-1501-retry-main branch October 9, 2023 14:34
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_extra_packed_data_test failed
3 participants