summaryrefslogtreecommitdiff
path: root/plugins/reload
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-16 19:56:45 +0300
committerValery Piashchynski <[email protected]>2020-12-16 19:56:45 +0300
commit29fdca1ec6ae2c95e5aec3d76d62cd2bc3b828e8 (patch)
treee7ad2b047a62ce78a92af8196bd84c287f0413cf /plugins/reload
parenta4fde7e41cbb6562ead562402c3f5f2d0cef7b62 (diff)
Set log level to ERROR in Reload plugin tests
Diffstat (limited to 'plugins/reload')
-rw-r--r--plugins/reload/tests/reload_plugin_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/reload/tests/reload_plugin_test.go b/plugins/reload/tests/reload_plugin_test.go
index 6656b78c..37ce0c91 100644
--- a/plugins/reload/tests/reload_plugin_test.go
+++ b/plugins/reload/tests/reload_plugin_test.go
@@ -30,7 +30,7 @@ const testCopyToDir string = "unit_tests_copied"
const hugeNumberOfFiles uint = 5000
func TestReloadInit(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -113,7 +113,7 @@ func reloadTestInit(t *testing.T) {
}
func TestReloadHugeNumberOfFiles(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -219,7 +219,7 @@ func reloadHugeNumberOfFiles(t *testing.T) {
// Should be events only about creating files with txt ext
func TestReloadFilterFileExt(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -337,7 +337,7 @@ func reloadFilteredExt(t *testing.T) {
// Should be events only about creating files with txt ext
func TestReloadCopy3k(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{
@@ -616,7 +616,7 @@ func reloadMake3kFiles(t *testing.T) {
}
func TestReloadNoRecursion(t *testing.T) {
- cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.DebugLevel))
+ cont, err := endure.NewContainer(nil, endure.SetLogLevel(endure.ErrorLevel))
assert.NoError(t, err)
cfg := &config.Viper{