summaryrefslogtreecommitdiff
path: root/plugins/server/tests/server_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-17 10:11:56 +0300
committerGitHub <[email protected]>2020-12-17 10:11:56 +0300
commita1dc59cabb6e63eab232922f4eb5a19dbd168f44 (patch)
treea35057cd5b8d22002bbd05812a3fb604ce03b705 /plugins/server/tests/server_test.go
parentde3c2274d0009b63ead05ddf3d699012f1d11ada (diff)
parent1033c25b6bfc752d6059e446510f651e22cbf49b (diff)
Merge pull request #448 from spiral/plugin/reloader
[RR2] Plugin/reload
Diffstat (limited to 'plugins/server/tests/server_test.go')
-rw-r--r--plugins/server/tests/server_test.go14
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)
}