Page MenuHomePhabricator

Fix a race condition with rpc ports in check-seeds
ClosedPublic

Authored by jasonbcox on Feb 11 2020, 22:13.

Details

Summary

The RPC port from the first run of test-seeds is not guaranteed to be closed/cleaned up
by the OS by the time the second run on test-seeds occurs. Without this patch, check-seeds is flaky
and fails at random.

Test Plan
ABC_BUILD_NAME=check-seeds ./build-configuration.sh

Run this a few times on CI too

Diff Detail

Repository
rABC Bitcoin ABC
Branch
check-seeds-race
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 9449
Build 16819: Default Diff Build & Tests
Build 16818: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Feb 13 2020, 09:48