From: Bjørn Erik Pedersen Date: Wed, 22 Feb 2017 08:38:55 +0000 (+0100) Subject: hugolib: Temporarily disable leaktest X-Git-Tag: v0.19~19 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9e6b5eb98e964acd8840482a29db72d5868c9b14;p=brevno-suite%2Fhugo hugolib: Temporarily disable leaktest See #3082 --- diff --git a/hugolib/hugo_sites_build_test.go b/hugolib/hugo_sites_build_test.go index fce6abdd..80aea0f7 100644 --- a/hugolib/hugo_sites_build_test.go +++ b/hugolib/hugo_sites_build_test.go @@ -10,7 +10,7 @@ import ( "path/filepath" "text/template" - "github.com/fortytw2/leaktest" + //"github.com/fortytw2/leaktest" "github.com/fsnotify/fsnotify" "github.com/spf13/afero" "github.com/spf13/hugo/deps" @@ -374,7 +374,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.Check(t)() + // defer leaktest.Check(t)() siteConfig := testSiteConfig{Fs: afero.NewMemMapFs(), DefaultContentLanguage: "fr", DefaultContentLanguageInSubdir: true} sites := createMultiTestSites(t, siteConfig, multiSiteTOMLConfigTemplate)