etcdserver: fix test due to rebase
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user