Commit c5f6dc77 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 933a62ce
...@@ -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)
} }
*/
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment