Page MenuHomePhabricator

Increase timeout in avalanche test
ClosedPublic

Authored by Fabien on Feb 4 2020, 13:56.

Details

Summary

When running with TSAN the query can be delayed so much that the timeout
is not enough.
Bumping the timeout by an order of magnitude should prevent the CI
failure without slowing the test in the average case.

Test Plan

Run the CI build-tsan build configuration.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
avalanche_tests_increase_timeout
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9260
Build 16462: Default Diff Build & Tests
Build 16461: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Feb 4 2020, 15:02
src/test/avalanche_tests.cpp
890

Because i is not used in the loop, it is probably better to use a time limit here rather than a count.

This revision was automatically updated to reflect the committed changes.