From cf1a236f2a145aece437be9e950316f92fe345c6 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Tue, 16 Feb 2021 12:54:19 +0300 Subject: Use error log-level in tests Signed-off-by: Valery Piashchynski --- tests/plugins/logger/logger_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/plugins/logger/logger_test.go b/tests/plugins/logger/logger_test.go index 5be76b7a..7f378026 100644 --- a/tests/plugins/logger/logger_test.go +++ b/tests/plugins/logger/logger_test.go @@ -75,7 +75,7 @@ func TestLogger(t *testing.T) { } func TestLoggerNoConfig(t *testing.T) { - container, err := endure.NewContainer(nil, endure.RetryOnFail(true), endure.SetLogLevel(endure.DebugLevel)) + container, err := endure.NewContainer(nil, endure.RetryOnFail(true), endure.SetLogLevel(endure.ErrorLevel)) if err != nil { t.Fatal(err) } @@ -135,7 +135,7 @@ func TestLoggerNoConfig(t *testing.T) { // Should no panic func TestLoggerNoConfig2(t *testing.T) { - container, err := endure.NewContainer(nil, endure.RetryOnFail(true), endure.SetLogLevel(endure.DebugLevel)) + container, err := endure.NewContainer(nil, endure.RetryOnFail(true), endure.SetLogLevel(endure.ErrorLevel)) if err != nil { t.Fatal(err) } -- cgit v1.2.3