mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Add gorilla/mux to third_party.
This commit is contained in:
parent
34b99ee343
commit
52b67ca307
@ -21,7 +21,7 @@ import (
|
|||||||
func TestSingleNode(t *testing.T) {
|
func TestSingleNode(t *testing.T) {
|
||||||
procAttr := new(os.ProcAttr)
|
procAttr := new(os.ProcAttr)
|
||||||
procAttr.Files = []*os.File{nil, os.Stdout, os.Stderr}
|
procAttr.Files = []*os.File{nil, os.Stdout, os.Stderr}
|
||||||
args := []string{"etcd", "-n=node1", "-f", "-d=/tmp/node1"}
|
args := []string{"etcd", "-vv", "-n=node1", "-f", "-d=/tmp/node1"}
|
||||||
|
|
||||||
process, err := os.StartProcess("etcd", args, procAttr)
|
process, err := os.StartProcess("etcd", args, procAttr)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -32,6 +32,7 @@ func TestSingleNode(t *testing.T) {
|
|||||||
|
|
||||||
time.Sleep(time.Second)
|
time.Sleep(time.Second)
|
||||||
|
|
||||||
|
etcd.OpenDebug()
|
||||||
c := etcd.NewClient()
|
c := etcd.NewClient()
|
||||||
|
|
||||||
c.SyncCluster()
|
c.SyncCluster()
|
||||||
|
1
third_party/deps
vendored
1
third_party/deps
vendored
@ -3,6 +3,7 @@ packages="
|
|||||||
github.com/coreos/go-etcd
|
github.com/coreos/go-etcd
|
||||||
github.com/coreos/go-log/log
|
github.com/coreos/go-log/log
|
||||||
github.com/coreos/go-systemd
|
github.com/coreos/go-systemd
|
||||||
|
github.com/gorilla/mux
|
||||||
bitbucket.org/kardianos/osext
|
bitbucket.org/kardianos/osext
|
||||||
code.google.com/p/go.net
|
code.google.com/p/go.net
|
||||||
code.google.com/p/goprotobuf
|
code.google.com/p/goprotobuf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user