etcdserver: fix test due to rebase

release-2.0
Yicheng Qin 2014-10-01 12:51:40 -07:00
parent 182c8316e1
commit b64246720b
1 changed files with 1 additions and 1 deletions

View File

@ -836,7 +836,7 @@ func TestServerStopItself(t *testing.T) {
Send: func(_ []raftpb.Message) {},
Storage: &storageRecorder{},
}
s.Start()
s.start()
n.readyc <- raft.Ready{SoftState: &raft.SoftState{ShouldStop: true}}
select {