etcdserver: fix test due to rebase
parent
182c8316e1
commit
b64246720b
|
@ -836,7 +836,7 @@ func TestServerStopItself(t *testing.T) {
|
||||||
Send: func(_ []raftpb.Message) {},
|
Send: func(_ []raftpb.Message) {},
|
||||||
Storage: &storageRecorder{},
|
Storage: &storageRecorder{},
|
||||||
}
|
}
|
||||||
s.Start()
|
s.start()
|
||||||
n.readyc <- raft.Ready{SoftState: &raft.SoftState{ShouldStop: true}}
|
n.readyc <- raft.Ready{SoftState: &raft.SoftState{ShouldStop: true}}
|
||||||
|
|
||||||
select {
|
select {
|
||||||
|
|
Loading…
Reference in New Issue