From 715c2931d578d8fa23a1497bb85cc120e8493dbd Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Fri, 13 Aug 2021 03:00:31 +0300 Subject: Increase reload timeout. Signed-off-by: Valery Piashchynski --- tests/plugins/reload/reload_plugin_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/plugins/reload/reload_plugin_test.go b/tests/plugins/reload/reload_plugin_test.go index b0841b0b..b5223b9c 100644 --- a/tests/plugins/reload/reload_plugin_test.go +++ b/tests/plugins/reload/reload_plugin_test.go @@ -208,7 +208,7 @@ func TestReloadHugeNumberOfFiles(t *testing.T) { time.Sleep(time.Second * 3) t.Run("ReloadTestHugeNumberOfFiles", reloadHugeNumberOfFiles) t.Run("ReloadRandomlyChangeFile", randomlyChangeFile) - time.Sleep(time.Second * 3) + time.Sleep(time.Second * 10) stopCh <- struct{}{} wg.Wait() @@ -318,7 +318,7 @@ func TestReloadFilterFileExt(t *testing.T) { time.Sleep(time.Second * 3) t.Run("ReloadMakeFiles", reloadMakeFiles) t.Run("ReloadFilteredExt", reloadFilteredExt) - time.Sleep(time.Second * 3) + time.Sleep(time.Second * 10) stopCh <- struct{}{} wg.Wait() @@ -465,7 +465,7 @@ func TestReloadCopy100(t *testing.T) { t.Run("RandomChangesInRecursiveDirs", randomChangesInRecursiveDirs) t.Run("RemoveFilesSupport", removeFilesSupport) t.Run("ReloadMoveSupport", reloadMoveSupport) - time.Sleep(time.Second * 3) + time.Sleep(time.Second * 10) assert.NoError(t, freeResources(testDir)) assert.NoError(t, freeResources(testCopyToDir)) @@ -737,7 +737,7 @@ func TestReloadNoRecursion(t *testing.T) { t.Run("ReloadCopyFilesRecursive", reloadCopyFiles) time.Sleep(time.Second * 3) assert.NoError(t, freeResources(testDir)) - time.Sleep(time.Second * 3) + time.Sleep(time.Second * 10) stopCh <- struct{}{} wg.Wait() -- cgit v1.2.3