Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
c1a7c85a
Commit
c1a7c85a
authored
Oct 18, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ba14daf7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
go/neo/client.go
go/neo/client.go
+1
-0
go/neo/client_test.go
go/neo/client_test.go
+2
-0
No files found.
go/neo/client.go
View file @
c1a7c85a
...
...
@@ -221,6 +221,7 @@ func (c *Client) talkMaster(ctx context.Context) (err error) {
for
{
err
:=
c
.
talkMaster1
(
ctx
)
log
.
Warning
(
ctx
,
err
)
// XXX Warning ok? -> Error?
// XXX if err == "reject identification / protocol error" -> shutdown client
// TODO if err = shutdown -> return
...
...
go/neo/client_test.go
View file @
c1a7c85a
...
...
@@ -227,6 +227,8 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
},
optv
...
)
}
// XXX connect with wrong clusterName -> rejected
func
TestEmptyDB
(
t
*
testing
.
T
)
{
withNEO
(
t
,
func
(
t
*
testing
.
T
,
nsrv
NEOSrv
,
n
*
Client
)
{
xtesting
.
DrvTestEmptyDB
(
t
,
n
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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