summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-08-15 18:43:24 +0300
committerValery Piashchynski <[email protected]>2021-08-15 18:43:24 +0300
commit4ec783832b7d415724a893804dabdd9f379b06f5 (patch)
tree3cf0ee87abc45a6ac7058dc2e720233407a47d18 /tests
parent7469016ec237f4bedc23c2bae6a7fad52fc5faeb (diff)
Reload plugin update
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests')
-rw-r--r--tests/plugins/reload/reload_plugin_test.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/plugins/reload/reload_plugin_test.go b/tests/plugins/reload/reload_plugin_test.go
index 5e0462d8..0ede9010 100644
--- a/tests/plugins/reload/reload_plugin_test.go
+++ b/tests/plugins/reload/reload_plugin_test.go
@@ -317,6 +317,7 @@ func TestReloadFilterFileExt(t *testing.T) {
time.Sleep(time.Second * 3)
t.Run("ReloadMakeFiles", reloadMakeFiles)
+ time.Sleep(time.Second * 2)
t.Run("ReloadFilteredExt", reloadFilteredExt)
time.Sleep(time.Second * 10)
@@ -460,15 +461,15 @@ func TestReloadCopy100(t *testing.T) {
time.Sleep(time.Second * 3)
t.Run("ReloadMake100Files", reloadMake100Files)
- time.Sleep(time.Second)
+ time.Sleep(time.Second * 2)
t.Run("ReloadCopyFiles", reloadCopyFiles)
- time.Sleep(time.Second)
+ time.Sleep(time.Second * 2)
t.Run("ReloadRecursiveDirsSupport", copyFilesRecursive)
- time.Sleep(time.Second)
+ time.Sleep(time.Second * 2)
t.Run("RandomChangesInRecursiveDirs", randomChangesInRecursiveDirs)
- time.Sleep(time.Second)
+ time.Sleep(time.Second * 2)
t.Run("RemoveFilesSupport", removeFilesSupport)
- time.Sleep(time.Second)
+ time.Sleep(time.Second * 2)
t.Run("ReloadMoveSupport", reloadMoveSupport)
time.Sleep(time.Second * 10)
@@ -738,7 +739,7 @@ func TestReloadNoRecursion(t *testing.T) {
time.Sleep(time.Second * 3)
t.Run("ReloadMakeFiles", reloadMakeFiles) // make files in the testDir
- time.Sleep(time.Second * 3)
+ time.Sleep(time.Second * 2)
t.Run("ReloadCopyFilesRecursive", reloadCopyFiles)
time.Sleep(time.Second * 3)
assert.NoError(t, freeResources(testDir))