Commit 317e8d2b authored by Georgios Bitzes's avatar Georgios Bitzes
Browse files

Update QClient

parent cac8536f
Pipeline #454453 failed with stages
in 22 minutes and 59 seconds
Subproject commit 417793db74422236b2f317229bcf42d06ede5223
Subproject commit 41d777d578b096b2b8980e119c983ec132033f19
......@@ -31,6 +31,7 @@
#include "raft/RaftGroup.hh"
#include "raft/RaftJournal.hh"
#include "QuarkDBNode.hh"
#include "qclient/GlobalInterceptor.hh"
#include <gtest/gtest.h>
namespace quarkdb {
......@@ -92,7 +93,11 @@ RaftServer GlobalEnv::server(int id) {
srv.hostname = SSTR("server" << id);
srv.port = 23456 + id;
qclient::QClient::addIntercept(srv.hostname, srv.port, "127.0.0.1", srv.port);
qclient::GlobalInterceptor::addIntercept(
qclient::Endpoint(srv.hostname, srv.port),
qclient::Endpoint("127.0.0.1", srv.port)
);
return srv;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment