summaryrefslogtreecommitdiff
path: root/plugins/reload/tests/reload_plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-17 12:13:55 +0300
committerGitHub <[email protected]>2020-12-17 12:13:55 +0300
commitee0cb478c74c393a35155c2bf51e1ef260e0e5e2 (patch)
tree2c99d4c6e2b2e9e3fa155d5d68a9d471c9aeeb9b /plugins/reload/tests/reload_plugin_test.go
parenta1dc59cabb6e63eab232922f4eb5a19dbd168f44 (diff)
parentedf924b37bcdad14eb31014c571ab58720aa178f (diff)
Merge pull request #452 from spiral/refactor/splitv2.0.0-alpha23
Refactor/split
Diffstat (limited to 'plugins/reload/tests/reload_plugin_test.go')
-rw-r--r--plugins/reload/tests/reload_plugin_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/reload/tests/reload_plugin_test.go b/plugins/reload/tests/reload_plugin_test.go
index 8fb9474f..d2fad28d 100644
--- a/plugins/reload/tests/reload_plugin_test.go
+++ b/plugins/reload/tests/reload_plugin_test.go
@@ -386,7 +386,7 @@ func TestReloadCopy3k(t *testing.T) {
wg := &sync.WaitGroup{}
wg.Add(1)
- tt := time.NewTimer(time.Second * 180)
+ tt := time.NewTimer(time.Second * 220)
go func() {
defer wg.Done()
@@ -429,7 +429,7 @@ func TestReloadCopy3k(t *testing.T) {
t.Run("ReloadMake3kFiles", reloadMake3kFiles)
ttt := time.Now()
t.Run("ReloadCopyFiles", reloadCopyFiles)
- if time.Since(ttt).Seconds() > 100 {
+ if time.Since(ttt).Seconds() > 120 {
t.Fatal("spend too much time on copy")
}