diff --git a/etcdserver/server_test.go b/etcdserver/server_test.go index e587fdebf..8caa1ad7f 100644 --- a/etcdserver/server_test.go +++ b/etcdserver/server_test.go @@ -19,6 +19,8 @@ package etcdserver import ( "encoding/json" "fmt" + "io/ioutil" + "log" "math/rand" "path" "reflect" @@ -36,6 +38,10 @@ import ( "github.com/coreos/etcd/store" ) +func init() { + log.SetOutput(ioutil.Discard) +} + func TestGetExpirationTime(t *testing.T) { tests := []struct { r pb.Request