Page MenuHomePhabricator

Add sane timeout in tests when waiting for parked blocks
AbandonedPublic

Authored by sdulfari on Dec 14 2022, 17:41.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

Improves debugging experience. Functional tests should never take a minute to park/unpark blocks.

Test Plan
ninja && ./test/functional/test_runner.py abc_p2p_avalanche_voting abc-parkedchain

Diff Detail

Repository
rABC Bitcoin ABC
Branch
test-park-timeout
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 21581
Build 42804: Build Diffbuild-without-wallet · build-diff · build-debug · build-clang-tidy · build-clang
Build 42803: arc lint + arc unit

Event Timeline

Fabien requested changes to this revision.Dec 14 2022, 17:44
Fabien added a subscriber: Fabien.

Please don't add flakiness to the tests. There is no point lowering the timeout manually, thus overriding the build environment config, and cause occasional failures.

This revision now requires changes to proceed.Dec 14 2022, 17:44

TIL you can set timeout-factor on the command line. Inspired some improvement to the docs: D12893