Browse Source

Add gorilla/mux to third_party.

Ben Johnson 12 years ago
parent
commit
52b67ca307
2 changed files with 3 additions and 1 deletions
  1. 2 1
      etcd_test.go
  2. 1 0
      third_party/deps

+ 2 - 1
etcd_test.go

@@ -21,7 +21,7 @@ import (
 func TestSingleNode(t *testing.T) {
 	procAttr := new(os.ProcAttr)
 	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)
 	if err != nil {
@@ -32,6 +32,7 @@ func TestSingleNode(t *testing.T) {
 
 	time.Sleep(time.Second)
 
+	etcd.OpenDebug()
 	c := etcd.NewClient()
 
 	c.SyncCluster()

+ 1 - 0
third_party/deps

@@ -3,6 +3,7 @@ packages="
 	github.com/coreos/go-etcd
 	github.com/coreos/go-log/log
 	github.com/coreos/go-systemd
+	github.com/gorilla/mux
 	bitbucket.org/kardianos/osext
 	code.google.com/p/go.net
 	code.google.com/p/goprotobuf