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

Speed up the functional tests #297

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

darosior
Copy link
Member

@darosior darosior commented Oct 26, 2021

Analog to #287, based on #292.

The main bottlenecks for the test framework currently are:

  • Waiting for vault status (activation, ..)
  • Waiting for tx broadcast / conf acknowledgement

The former is limited by the Coordinator poll interval for signatures exchange and the latter by the bitcoind RPC poll interval for chainstate update. Reducing both drastically reduces the run time of the functional tests suite but reducing the bitcoind RPC poll interval currently is flaky on a race in the reorg tests, this is why it's still a draft.

On my machine this speeds up the tests from taking ~12min to ~6min (will edit shortly).

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.

1 participant