mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 17:40:38 -04:00
hugolib: Increase leaktest timeout
To try to less flaky test.
This commit is contained in:
parent
8969701967
commit
d25d89e653
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user