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

Merged
merged 5 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

Resolves #1816

* Increase max-transaction-time for setting bios contract
* Refactor tests to use common command line arguments
@linh2931 linh2931 requested review from greg7mdp and heifner October 24, 2023 19:56
@linh2931 linh2931 merged commit 75ce11e into release/5.0 Oct 26, 2023
29 checks passed
@linh2931 linh2931 deleted the increase_max_transaction_time_readony_tests_5_0 branch October 26, 2023 18:55
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.

3 participants