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

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.