Page MenuHomePhabricator

Merge #12804: [tests] Fix intermittent rpc_net.py failure.
ClosedPublic

Authored by jasonbcox on Jan 16 2020, 23:02.

Details

Summary

5a67c0524e [tests] Fix intermittent rpc_net.py failure. (John Newbery)

Pull request description:

rpc_net.py would intermittently fail on Travis, probably
due to assuming that two consecutive RPC calls were atomic.
Fix this by trying the test up to three times and only failing
if all three attempts fail.

fixes #11778

Tree-SHA512: f2f5047e05114ad2110377e6221ce057680c240952971fb33863834587d2250896c6b697ba27eef739cd0ab23faf47dfae8cafadc9833cbfab5a6f7e36dae5e2

Backport of Core PR12804
https://github.com/bitcoin/bitcoin/pull/12804/files

Test Plan

test_runner.py rpc_net

Diff Detail

Repository
rABC Bitcoin ABC
Branch
pr12804
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 8988
Build 15938: Default Diff Build & Tests
Build 15937: arc lint + arc unit