Browse Source

etcdserver: fix test due to rebase

Yicheng Qin 11 năm trước cách đây
mục cha
commit
b64246720b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      etcdserver/server_test.go

+ 1 - 1
etcdserver/server_test.go

@@ -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 {