From: Bjørn Erik Pedersen Date: Wed, 31 May 2017 10:23:22 +0000 (+0300) Subject: hugolib: Increase leaktest timeout X-Git-Tag: v0.22~33 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d25d89e6;p=brevno-suite%2Fhugo hugolib: Increase leaktest timeout To try to less flaky test. --- diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index 5f3d1b9c..0917817c 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -392,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.CheckTimeout(t, 10*time.Second)() + defer leaktest.CheckTimeout(t, 20*time.Second)() siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true} sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate)