hugolib: Increase leaktest timeout

To try to less flaky test.
This commit is contained in:
Bjørn Erik Pedersen 2017-05-31 13:23:22 +03:00
parent 8969701967
commit d25d89e653

View 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, 10*time.Second)()
defer leaktest.CheckTimeout(t, 20*time.Second)()
siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true}
sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate)