mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
server/etcdserver: fix test
Signed-off-by: mind1949 <lianjie1949@gmail.com>
This commit is contained in:
parent
2b0596f859
commit
f3bd535747
@ -288,9 +288,8 @@ func TestExpvarWithNoRaftStatus(t *testing.T) {
|
||||
|
||||
func TestStopRaftNodeMoreThanOnce(t *testing.T) {
|
||||
n := newNopReadyNode()
|
||||
|
||||
r := newRaftNode(raftNodeConfig{
|
||||
lg: zap.NewExample(),
|
||||
lg: zaptest.NewLogger(t),
|
||||
Node: n,
|
||||
storage: mockstorage.NewStorageRecorder(""),
|
||||
raftStorage: raft.NewMemoryStorage(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user