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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Feb 4 2020, 15:02
src/test/avalanche_tests.cpp
890 ↗(On Diff #15998)

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.