Merge pull request #1286 from coreos/clusterid

*: generate clusterid
This commit is contained in:
Xiang Li
2014-10-20 19:07:03 -07:00
12 changed files with 141 additions and 62 deletions

View File

@@ -190,7 +190,6 @@ func TestNode(t *testing.T) {
CommittedEntries: []raftpb.Entry{{Term: 1, Index: 3, Data: []byte("foo")}},
},
}
n := StartNode(1, []Peer{{ID: 1}}, 10, 1)
n.ApplyConfChange(cc)
n.Campaign(ctx)