shithub: hugo

Download patch

ref: 9e6b5eb98e964acd8840482a29db72d5868c9b14
parent: 0f109faefbd8e25ba1ee25f7c05b662387277c74
author: Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
date: Wed Feb 22 04:38:55 EST 2017

hugolib: Temporarily disable leaktest

See #3082

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