diff options
author | Valery Piashchynski <[email protected]> | 2021-02-16 12:54:19 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-02-16 12:54:19 +0300 |
commit | cf1a236f2a145aece437be9e950316f92fe345c6 (patch) | |
tree | 50696204dbe12afa354fdc613bc00184f6a908ef | |
parent | ac159557f3a31e53e0c76c4196b0e42e1e71aa52 (diff) |
Use error log-level in tests
Signed-off-by: Valery Piashchynski <[email protected]>
-rw-r--r-- | tests/plugins/logger/logger_test.go | 4 |
1 files 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) } |