mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
hugolib: Bump leaktest timeout to 30 seconds
To try to make it less flaky.
This commit is contained in:
parent
4e00bb7fdd
commit
b37d959408
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ func doTestMultiSitesBuild(t *testing.T, configTemplate, configSuffix string) {
|
||||||
|
|
||||||
func TestMultiSitesRebuild(t *testing.T) {
|
func TestMultiSitesRebuild(t *testing.T) {
|
||||||
// t.Parallel() not supported, see https://github.com/fortytw2/leaktest/issues/4
|
// 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}
|
siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true}
|
||||||
sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate)
|
sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate)
|
||||||
|
|
Loading…
Reference in a new issue