hugolib: Bump leaktest timeout to 30 seconds
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 2 Jun 2017 14:50:44 +0000 (16:50 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Fri, 2 Jun 2017 14:50:44 +0000 (16:50 +0200)
To try to make it less flaky.

hugolib/hugo_sites_build_test.go

index 0917817cc487f8c255c6999ab4c3f12ded62e643..e7f93598bd392915d8f68fa8f5688b7d560901cf 100644 (file)
@@ -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, 20*time.Second)()
+       defer leaktest.CheckTimeout(t, 30*time.Second)()
 
        siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true}
        sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate)