Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
fb51b30d
Commit
fb51b30d
authored
Oct 18, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
18c11a69
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
go/neo/client_test.go
go/neo/client_test.go
+1
-1
go/neo/py/runneo.py
go/neo/py/runneo.py
+2
-1
No files found.
go/neo/client_test.go
View file @
fb51b30d
...
@@ -215,7 +215,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
...
@@ -215,7 +215,7 @@ func withNEO(t *testing.T, f func(t *testing.T, nsrv NEOSrv, ndrv *Client), optv
withNEOSrv
(
t
,
func
(
t
*
testing
.
T
,
nsrv
NEOSrv
)
{
withNEOSrv
(
t
,
func
(
t
*
testing
.
T
,
nsrv
NEOSrv
)
{
t
.
Helper
()
t
.
Helper
()
X
:=
xtesting
.
FatalIf
(
t
)
X
:=
xtesting
.
FatalIf
(
t
)
ndrv
,
_
,
err
:=
neoOpen
(
fmt
.
Sprintf
(
"%s@%s"
,
nsrv
.
ClusterName
(),
nsrv
.
MasterAddr
()),
ndrv
,
_
,
err
:=
neoOpen
(
fmt
.
Sprintf
(
"
neo://
%s@%s"
,
nsrv
.
ClusterName
(),
nsrv
.
MasterAddr
()),
&
zodb
.
DriverOptions
{
ReadOnly
:
true
});
X
(
err
)
&
zodb
.
DriverOptions
{
ReadOnly
:
true
});
X
(
err
)
defer
func
()
{
defer
func
()
{
err
:=
ndrv
.
Close
();
X
(
err
)
err
:=
ndrv
.
Close
();
X
(
err
)
...
...
go/neo/py/runneo.py
View file @
fb51b30d
...
@@ -40,6 +40,7 @@ def main():
...
@@ -40,6 +40,7 @@ def main():
defer
(
cluster
.
stop
)
defer
(
cluster
.
stop
)
cluster
.
expectClusterRunning
()
cluster
.
expectClusterRunning
()
print
(
"I: runneo.py: Started master(s): %s"
%
cluster
.
master_nodes
)
# dump information about ready cluster into readyfile
# dump information about ready cluster into readyfile
with
open
(
"%s.tmp"
%
readyf
,
"w"
)
as
f
:
with
open
(
"%s.tmp"
%
readyf
,
"w"
)
as
f
:
...
...
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