all campaign

This commit is contained in:
Blake Mizerany 2014-09-02 16:26:46 -07:00 committed by Yicheng Qin
parent bb185a858f
commit fa11eef6d0

View File

@ -48,9 +48,11 @@ func testServer(t *testing.T, ns int64) {
ss[i] = srv ss[i] = srv
} }
if err := ss[0].Node.Campaign(ctx); err != nil { for i := int64(0); i < ns; i++ {
if err := ss[i].Node.Campaign(ctx); err != nil {
t.Fatal(err) t.Fatal(err)
} }
}
for i := 1; i <= 10; i++ { for i := 1; i <= 10; i++ {
r := pb.Request{ r := pb.Request{