aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-05-18 17:13:43 +0800
committerGitHub <noreply@github.com>2017-05-18 17:13:43 +0800
commit6f9428e9008f9d979caf7ff2f67ae85c784a0111 (patch)
tree267a939c150276daccbbd7d4a0fedfe26fdcb195
parentb923196a85dccbc1aed835f19b06d539c483beb1 (diff)
parentd546c2873ae336f2c03db0e6e8386504c6aebe0c (diff)
downloaddexon-solidity-6f9428e9008f9d979caf7ff2f67ae85c784a0111.tar.gz
dexon-solidity-6f9428e9008f9d979caf7ff2f67ae85c784a0111.tar.zst
dexon-solidity-6f9428e9008f9d979caf7ff2f67ae85c784a0111.zip
Merge pull request #2280 from seusher/soltest_rpc_request_logging
Issue 2279: Log JSON RPC requests and responses when --log_level=mess…
-rw-r--r--test/RPCSession.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp
index 3ea3b1fe..c4fbfefb 100644
--- a/test/RPCSession.cpp
+++ b/test/RPCSession.cpp
@@ -316,9 +316,9 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector<string> const&
request += "],\"id\":" + to_string(m_rpcSequence) + "}";
++m_rpcSequence;
- // cout << "Request: " << request << endl;
+ BOOST_TEST_MESSAGE("Request: " + request);
string reply = m_ipcSocket.sendRequest(request);
- // cout << "Reply: " << reply << endl;
+ BOOST_TEST_MESSAGE("Reply: " + reply);
Json::Value result;
BOOST_REQUIRE(Json::Reader().parse(reply, result, false));