summaryrefslogtreecommitdiff
path: root/plugins/config/tests/config_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/config/tests/config_test.go')
-rw-r--r--plugins/config/tests/config_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/config/tests/config_test.go b/plugins/config/tests/config_test.go
index cf5d8489..c85a841f 100644
--- a/plugins/config/tests/config_test.go
+++ b/plugins/config/tests/config_test.go
@@ -40,7 +40,7 @@ func TestViperProvider_Init(t *testing.T) {
}
// stop by CTRL+C
- c := make(chan os.Signal)
+ c := make(chan os.Signal, 1)
signal.Notify(c, os.Interrupt)
tt := time.NewTicker(time.Second * 2)
@@ -63,5 +63,4 @@ func TestViperProvider_Init(t *testing.T) {
return
}
}
-
}