summaryrefslogtreecommitdiff
path: root/plugins/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rpc')
-rw-r--r--plugins/rpc/tests/.rr-rpc-disabled.yaml5
-rw-r--r--plugins/rpc/tests/.rr.yaml5
-rw-r--r--plugins/rpc/tests/rpc_test.go4
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)
}