mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
raft: write entry 0 into log
This commit is contained in:
@@ -141,7 +141,7 @@ func TestNode(t *testing.T) {
|
||||
wants := []Ready{
|
||||
{
|
||||
State: raftpb.State{Term: 1, Commit: 1, LastIndex: 1},
|
||||
Entries: []raftpb.Entry{{Term: 1, Index: 1}},
|
||||
Entries: []raftpb.Entry{{}, {Term: 1, Index: 1}},
|
||||
CommittedEntries: []raftpb.Entry{{Term: 1, Index: 1}},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user