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
c5f6dc77
Commit
c5f6dc77
authored
Feb 13, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
933a62ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
12 deletions
+5
-12
go/neo/cluster_test.go
go/neo/cluster_test.go
+5
-12
No files found.
go/neo/cluster_test.go
View file @
c5f6dc77
...
@@ -26,9 +26,9 @@ import (
...
@@ -26,9 +26,9 @@ import (
"bytes"
"bytes"
"context"
"context"
"crypto/sha1"
"crypto/sha1"
//
"io"
"io"
"net"
"net"
//
"reflect"
"reflect"
"sync"
"sync"
"testing"
"testing"
...
@@ -50,7 +50,7 @@ import (
...
@@ -50,7 +50,7 @@ import (
"lab.nexedi.com/kirr/go123/xnet/pipenet"
"lab.nexedi.com/kirr/go123/xnet/pipenet"
"fmt"
"fmt"
//
"time"
"time"
)
)
// ---- events used in tests ----
// ---- events used in tests ----
...
@@ -831,13 +831,6 @@ func TestMasterStorage(t *testing.T) {
...
@@ -831,13 +831,6 @@ func TestMasterStorage(t *testing.T) {
xwait
(
wg
)
xwait
(
wg
)
_
=
Mcancel
_
=
Scancel
_
=
Ccancel
return
}
/*
// C loads every other {<,=}serial:oid - established link is reused
// C loads every other {<,=}serial:oid - established link is reused
ziter
:=
zstor
.
Iterate
(
bg
,
0
,
zodb
.
TidMax
)
ziter
:=
zstor
.
Iterate
(
bg
,
0
,
zodb
.
TidMax
)
...
@@ -845,7 +838,7 @@ func TestMasterStorage(t *testing.T) {
...
@@ -845,7 +838,7 @@ func TestMasterStorage(t *testing.T) {
// XXX hack: disable tracing early so that C.Load() calls do not deadlock
// XXX hack: disable tracing early so that C.Load() calls do not deadlock
// TODO refactor cluster creation into func
// TODO refactor cluster creation into func
// TODO move client all loading tests into separate test where tracing will be off
// TODO move client all loading tests into separate test where tracing will be off
pg.Done
()
tracer
.
Detach
()
for
{
for
{
_
,
dataIter
,
err
:=
ziter
.
NextTxn
(
bg
)
_
,
dataIter
,
err
:=
ziter
.
NextTxn
(
bg
)
...
@@ -912,9 +905,9 @@ func TestMasterStorage(t *testing.T) {
...
@@ -912,9 +905,9 @@ func TestMasterStorage(t *testing.T) {
Mcancel
()
// FIXME ctx cancel not fully handled
Mcancel
()
// FIXME ctx cancel not fully handled
Scancel
()
// ---- // ----
Scancel
()
// ---- // ----
Ccancel
()
// ---- // ----
xwait
(
gwg
)
xwait
(
gwg
)
}
}
*/
/*
/*
...
...
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