diff options
author | Valery Piashchynski <[email protected]> | 2020-12-17 10:11:56 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-17 10:11:56 +0300 |
commit | a1dc59cabb6e63eab232922f4eb5a19dbd168f44 (patch) | |
tree | a35057cd5b8d22002bbd05812a3fb604ce03b705 /plugins/rpc | |
parent | de3c2274d0009b63ead05ddf3d699012f1d11ada (diff) | |
parent | 1033c25b6bfc752d6059e446510f651e22cbf49b (diff) |
Merge pull request #448 from spiral/plugin/reloader
[RR2] Plugin/reload
Diffstat (limited to 'plugins/rpc')
-rw-r--r-- | plugins/rpc/tests/.rr-rpc-disabled.yaml | 5 | ||||
-rw-r--r-- | plugins/rpc/tests/.rr.yaml | 5 | ||||
-rw-r--r-- | plugins/rpc/tests/rpc_test.go | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/plugins/rpc/tests/.rr-rpc-disabled.yaml b/plugins/rpc/tests/.rr-rpc-disabled.yaml index 624fb3c5..d5c185e7 100644 --- a/plugins/rpc/tests/.rr-rpc-disabled.yaml +++ b/plugins/rpc/tests/.rr-rpc-disabled.yaml @@ -1,3 +1,6 @@ rpc: listen: tcp://127.0.0.1:6001 - disabled: true
\ No newline at end of file + disabled: true +logs: + mode: development + level: error
\ No newline at end of file diff --git a/plugins/rpc/tests/.rr.yaml b/plugins/rpc/tests/.rr.yaml index 76e8b440..d2cb6c70 100644 --- a/plugins/rpc/tests/.rr.yaml +++ b/plugins/rpc/tests/.rr.yaml @@ -1,3 +1,6 @@ rpc: listen: tcp://127.0.0.1:6001 - disabled: false
\ No newline at end of file + disabled: false +logs: + mode: development + level: error
\ No newline at end of file diff --git a/plugins/rpc/tests/rpc_test.go b/plugins/rpc/tests/rpc_test.go index 88267dfb..0344da6b 100644 --- a/plugins/rpc/tests/rpc_test.go +++ b/plugins/rpc/tests/rpc_test.go @@ -17,7 +17,7 @@ import ( // graph https://bit.ly/3ensdNb func TestRpcInit(t *testing.T) { - cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel)) if err != nil { t.Fatal(err) } @@ -96,7 +96,7 @@ func TestRpcInit(t *testing.T) { // graph https://bit.ly/3ensdNb func TestRpcDisabled(t *testing.T) { - cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel)) + cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel)) if err != nil { t.Fatal(err) } |