Commit 15d9be2f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent cfd1c41b
...@@ -372,6 +372,7 @@ func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit f ...@@ -372,6 +372,7 @@ func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit f
var t0 *tracetest.T // XXX stub var t0 *tracetest.T // XXX stub
t := tNewCluster_MS(t0, "abc1", zback) t := tNewCluster_MS(t0, "abc1", zback)
defer t.Stop() defer t.Stop()
M := t.Master("m")
ctx, cancel := context.WithCancel(context.Background()) ctx, cancel := context.WithCancel(context.Background())
defer cancel() defer cancel()
...@@ -418,20 +419,10 @@ func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit f ...@@ -418,20 +419,10 @@ func benchmarkGetObject(b *testing.B, Mnet, Snet, Cnet xnet.Networker, benchit f
}) })
*/ */
// C := NewClient("abc1", Maddr, Cnet)
// wg.Go(func(ctx context.Context) error {
// return C.Run(ctx)
// })
// // command M to start
// tG.Expect(masterStartReady("m", true)) // <- XXX better with M api
// tracer.Detach()
t.TraceOff() t.TraceOff()
var M ITestMaster // XXX stub -> M = t.Master("m")
err := M.Start(); X(err) err := M.Start(); X(err)
C := t.NewClient("c", "m:1") // XXX better use M.Addr() ? C := t.NewClient("c", "m:1")
xid1 := zodb.Xid{Oid: 1, At: zodb.TidMax} xid1 := zodb.Xid{Oid: 1, At: zodb.TidMax}
......
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