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
13be24b0
Commit
13be24b0
authored
Jun 07, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ce6c0ff3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
go/neo/cluster_test.go
go/neo/cluster_test.go
+6
-1
go/neo/connection_test.go
go/neo/connection_test.go
+3
-0
No files found.
go/neo/cluster_test.go
View file @
13be24b0
...
...
@@ -35,6 +35,11 @@ import (
"lab.nexedi.com/kirr/go123/exc"
)
// XXX dup from connection_test
func
xwait
(
w
interface
{
Wait
()
error
})
{
err
:=
w
.
Wait
()
exc
.
Raiseif
(
err
)
}
// xfs1stor creates new NEO storage node backed by fs1
// XXX is this wrapper a good idea?
...
...
@@ -65,7 +70,7 @@ func TestMasterStorage(t *testing.T) {
// basic interaction between Client -- Storage
func
TestClientStorage
(
t
*
testing
.
T
)
{
Cnl
,
Snl
:=
n
odeLinkPipe
()
Cnl
,
Snl
:=
N
odeLinkPipe
()
wg
:=
WorkGroup
()
Sctx
,
Scancel
:=
context
.
WithCancel
(
context
.
Background
())
...
...
go/neo/connection_test.go
View file @
13be24b0
...
...
@@ -184,6 +184,9 @@ func nodeLinkPipe() (nl1, nl2 *NodeLink) {
return
_nodeLinkPipe
(
0
,
0
)
}
// XXX temp for cluster_test.fo
var
NodeLinkPipe
=
nodeLinkPipe
func
TestNodeLink
(
t
*
testing
.
T
)
{
// TODO catch exception -> add proper location from it -> t.Fatal (see git-backup)
...
...
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