mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix(tests): use correct raft package
This commit is contained in:
parent
33be0e09fe
commit
2557992b70
@ -4,14 +4,14 @@ import (
|
|||||||
"net/http"
|
"net/http"
|
||||||
|
|
||||||
"github.com/coreos/etcd/store"
|
"github.com/coreos/etcd/store"
|
||||||
"github.com/coreos/go-raft"
|
"github.com/coreos/etcd/third_party/github.com/coreos/raft"
|
||||||
"github.com/stretchr/testify/mock"
|
"github.com/stretchr/testify/mock"
|
||||||
)
|
)
|
||||||
|
|
||||||
// A mock Server for the v2 handlers.
|
// A mock Server for the v2 handlers.
|
||||||
type ServerV2 struct {
|
type ServerV2 struct {
|
||||||
mock.Mock
|
mock.Mock
|
||||||
store store.Store
|
store store.Store
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewServerV2(store store.Store) *ServerV2 {
|
func NewServerV2(store store.Store) *ServerV2 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user