diff options
author | Valery Piashchynski <[email protected]> | 2020-12-16 21:52:52 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2020-12-16 21:52:52 +0300 |
commit | a5431a6dd0dc1d803bd7cfa2bbcb017d85d0999e (patch) | |
tree | 873249c7bf427fec21dba377a7f84caaec853e87 /plugins/server/tests/server_test.go | |
parent | dd0238723a153646631ba0a8c2577d74fce61214 (diff) |
Use ERROR log level everywhere. Remove unused code from Reload plugin
Diffstat (limited to 'plugins/server/tests/server_test.go')
-rw-r--r-- | plugins/server/tests/server_test.go | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/server/tests/server_test.go b/plugins/server/tests/server_test.go index bc374a9e..faf01b11 100644 --- a/plugins/server/tests/server_test.go +++ b/plugins/server/tests/server_test.go @@ -14,7 +14,7 @@ import ( ) func TestAppPipes(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) } @@ -80,7 +80,7 @@ func TestAppPipes(t *testing.T) { } func TestAppSockets(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) } @@ -146,7 +146,7 @@ func TestAppSockets(t *testing.T) { } func TestAppTCP(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) } @@ -212,7 +212,7 @@ func TestAppTCP(t *testing.T) { } func TestAppWrongConfig(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) } @@ -244,7 +244,7 @@ func TestAppWrongConfig(t *testing.T) { } func TestAppWrongRelay(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) } @@ -280,7 +280,7 @@ func TestAppWrongRelay(t *testing.T) { } func TestAppWrongCommand(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) } @@ -318,7 +318,7 @@ func TestAppWrongCommand(t *testing.T) { } func TestAppNoAppSectionInConfig(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) } |