diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-30 16:38:10 +0300 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2017-05-30 16:38:10 +0300 |
commit | 828427ef522e8c259eea520e76a1e3655b801b13 (patch) | |
tree | 1b4c2b3768bc71fadf802d16151368a592f71c6e /hugolib | |
parent | ce624cc7d34c8b78aa482ae92a46d2cadc145b73 (diff) |
hugolib: Adjust timeout for leaktest
Diffstat (limited to 'hugolib')
-rw-r--r-- | hugolib/hugo_sites_build_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index b925b323d..5f3d1b9c0 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -9,6 +9,7 @@ import ( "html/template" "os" "path/filepath" + "time" "github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" @@ -391,7 +392,7 @@ func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) { func TestMultiSitesRebuild(t *testing.T) { // t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4 - defer leaktest.Check(t)() + defer leaktest.CheckTimeout(t, 10*time.Second)() siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true} sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate) |