Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
QuarkDB
Commits
317e8d2b
Commit
317e8d2b
authored
Jul 20, 2018
by
Georgios Bitzes
Browse files
Update QClient
parent
cac8536f
Pipeline
#454453
failed with stages
in 22 minutes and 59 seconds
Changes
2
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
qclient
@
41d777d5
Compare
417793db
...
41d777d5
Subproject commit 41
7793db74422236b2f317229bcf42d06ede5223
Subproject commit 41
d777d578b096b2b8980e119c983ec132033f19
test/test-utils.cc
View file @
317e8d2b
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment