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

Reduce time for test_contract_state_cleanup.py integration test #181

Open
kevindeforth opened this issue Feb 6, 2025 · 0 comments
Open

Comments

@kevindeforth
Copy link
Contributor

The python test checking if the state clearance triggered by calls to sign, respond or remove_timed_out_requests takes a long time, because it has to wait for the Promise error to be triggered after the default timeout.

This takes roughly five minutes, which is why the test is currently excluded from ci.

The testing time could be reduced with one of the following options (non-exhaustive):

  • somehow shorten the protocol timeout for promies_yield_resume during this test (not sure if possible)
  • somehow track signature responses submitted to the contract and ensure they failed instead of waiting for the PromiseError.
@kevindeforth kevindeforth changed the title Reduce time for mpc-contract integration test Reduce time for test_contract_state_cleanup.py integration test Feb 6, 2025
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

No branches or pull requests

1 participant