mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
fix test import loop
This commit is contained in:
parent
59a0c64e9f
commit
d1e7fee3ca
@ -6,8 +6,6 @@ import (
|
||||
"reflect"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/coreos/etcd/etcdserver"
|
||||
)
|
||||
|
||||
func TestNewCommand(t *testing.T) {
|
||||
@ -21,7 +19,7 @@ func TestNewCommand(t *testing.T) {
|
||||
t.Errorf("couldn't create time: %v", err)
|
||||
}
|
||||
|
||||
m := etcdserver.NewMember("alice", []url.URL{{Scheme: "http", Host: "127.0.0.1:7001"}}, etcdDefaultClusterName, nil)
|
||||
m := NewMember("alice", []url.URL{{Scheme: "http", Host: "127.0.0.1:7001"}}, etcdDefaultClusterName)
|
||||
m.ClientURLs = []string{"http://127.0.0.1:4001"}
|
||||
|
||||
tests := []interface{}{
|
||||
|
Loading…
x
Reference in New Issue
Block a user