From 43bae9dd0bd924ad4a7277ea3c0a8f69d85f4870 Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 7 Feb 2017 12:32:23 +0000 Subject: [PATCH] Ensure that a valid RPC response is received through IPC --- test/RPCSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index 44d21d69a..f67696d96 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -302,7 +302,7 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector const& //cout << "Reply: " << reply << endl; Json::Value result; - Json::Reader().parse(reply, result, false); + BOOST_REQUIRE(Json::Reader().parse(reply, result, false)); if (result.isMember("error")) {