diff options
author | Valery Piashchynski <[email protected]> | 2021-08-13 03:00:31 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-08-13 03:00:31 +0300 |
commit | 715c2931d578d8fa23a1497bb85cc120e8493dbd (patch) | |
tree | 3498348350d25d02de4e7fe3dcf3cb57b021f758 /tests/plugins | |
parent | 4f59820cc72f4d02d5167311f708b4df41973269 (diff) |
Increase reload timeout.
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins')
-rw-r--r-- | tests/plugins/reload/reload_plugin_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
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() |