Page MenuHomePhabricator

Improve TestNodeCLI output parsing
ClosedPublic

Authored by Fabien on Jan 23 2019, 17:28.

Details

Summary

Parse JSONRPCException errors, and avoid JSON decode exception if RPC
method returns a plain string.

Partial backport of core PR11970 (commit fcfb952)

Depends on D2395

Test Plan
./test/functional/test_runner.py interface_bitcoin_cli

Diff Detail

Repository
rABC Bitcoin ABC
Branch
PR11970_part1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4667
Build 7397: Bitcoin ABC Buildbot (legacy)
Build 7396: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 24 2019, 14:36
This revision was automatically updated to reflect the committed changes.