mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdserver: fix test due to rebase
This commit is contained in:
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…
x
Reference in New Issue
Block a user