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] Increase max-transaction-time for read_only_trx unit tests #1832

Merged
merged 7 commits into from
Oct 26, 2023

Conversation

linh2931
Copy link
Member

max-transaction-time in read_only_trxs tests was originally set to 10000us. That's before activate_protocol_features_set_bios_contract was added. activate_protocol_features_set_bios_contract calls set_code to set bios contracts which can take more than 10000us; this causes the tests to fail.

This PR

  • Increase max-transaction-time
  • Refactor tests to use common command line arguments

Merges release/5.0 into main including #1819

Resolves #1816

@linh2931 linh2931 requested review from greg7mdp and heifner October 26, 2023 19:19
@linh2931 linh2931 merged commit 452f3ea into main Oct 26, 2023
29 checks passed
@linh2931 linh2931 deleted the increase_max_transaction_time_readony_tests_main branch October 26, 2023 19:59
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.

Test Failure: read_only_trxs tests's max-transaction-time too small
3 participants