diff --git a/integration/cluster_test.go b/integration/cluster_test.go index e356564c7..5a1040adb 100644 --- a/integration/cluster_test.go +++ b/integration/cluster_test.go @@ -447,7 +447,9 @@ func TestRejectUnhealthyRemove(t *testing.T) { // (see https://github.com/coreos/etcd/issues/7512 for more). func TestRestartRemoved(t *testing.T) { defer testutil.AfterTest(t) + capnslog.SetGlobalLogLevel(capnslog.INFO) + defer capnslog.SetGlobalLogLevel(defaultLogLevel) // 1. start single-member cluster c := NewCluster(t, 1) diff --git a/integration/logger_test.go b/integration/logger_test.go index a71330a41..aecd72000 100644 --- a/integration/logger_test.go +++ b/integration/logger_test.go @@ -16,6 +16,8 @@ package integration import "github.com/coreos/pkg/capnslog" +const defaultLogLevel = capnslog.CRITICAL + func init() { - capnslog.SetGlobalLogLevel(capnslog.CRITICAL) + capnslog.SetGlobalLogLevel(defaultLogLevel) }