Commit 6b817f16 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent af6b146c
......@@ -349,32 +349,23 @@ func tracetestMasterStorage(t0 *tracetest.T) {
}
/*
// dispatch1 dispatched directly to single output channel
//
// XXX hack - better we don't need it.
// XXX -> with testenv.MkCluster() we won't need it
type tdispatch1 struct {
outch tracetest.Chan
}
func (d tdispatch1) Dispatch(event interface{}) {
d.outch.Send(event)
}
*/
// XXX kill Mnet/Snet/Cnet -> pass which network to use to tNewCluster
func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit func(xcload1 func())) {
X := exc.Raiseif
tracetest.Run(b, func(t0 *tracetest.T) {
println("AAA")
// create test cluster
zback := xfs1back("../zodb/storage/fs1/testdata/1.fs")
t := tNewCluster_MS(t0, "abc1", zback)
defer t.Stop()
M := t.Master("m")
println("BBB")
t.TraceOff()
println("CCC")
err := M.Start(); X(err)
println("DDD")
C := t.NewClient("c", "m:1")
......
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