revaultd icon indicating copy to clipboard operation
revaultd copied to clipboard

Speed up the functional tests

Open darosior opened this issue 3 years ago • 0 comments

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).

darosior avatar Oct 26 '21 11:10 darosior