shithub: hugo

Download patch

ref: d25d89e653bceec53666cc9610137f9443551d72
parent: 896970196780778ad5240fcc178b3be4d6a6876c
author: Bjørn Erik Pedersen <[email protected]>
date: Wed May 31 09:23:22 EDT 2017

hugolib: Increase leaktest timeout

To try to less flaky test.

--- a/hugolib/hugo_sites_build_test.go
+++ b/hugolib/hugo_sites_build_test.go
@@ -392,7 +392,7 @@
 
 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)