HomePhabricator

Merge #14777: tests: Add regtest for JSON-RPC batch calls

Description

Merge #14777: tests: Add regtest for JSON-RPC batch calls

Summary:
PR14777 backport.

3d2c7d6f94 Add regtest for JSON-RPC batch calls. (Daniel Kraft)

Pull request description:

This adds a new regtest file `interface_rpc.py`, containing a test for batch JSON-RPC requests.  Those were previously not tested at all.  Tests for basic requests are not really necessary, as those are used anyway in lots of other regtests.

The existing `interface_http.py` file is more about the underlying HTTP connection, so adding a new interface file for the JSON-RPC specific things makes sense.

Test Plan: ninja check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D5172

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Nov 22 2018, 17:14
Mark Lundeberg <markblundeberg@users.noreply.github.com>Committed on Feb 6 2020, 08:15
markblundebergPushed on Feb 6 2020, 09:37
Reviewer
Restricted Project
Differential Revision
D5172: Merge #14777: tests: Add regtest for JSON-RPC batch calls
Parents
rSTAGING35f2c83fa670: Merge #14670: http: Fix HTTP server shutdown
Branches
Unknown
Tags
Unknown