commit 9bd4236e1b3bee332439eef50e12d4481340c3eb
parent 4eedb377b60fb6742c97398942a0045ff2a824c4
Author: Anthony Fok <foka@debian.org>
Date: Fri, 27 Apr 2018 08:39:36 -0600
Show site build warning in TestPageBundlerSiteRegular
So that a timeout warning does appear if it does happen
especially on a slow machine with soft floating-point CPU.
Special thanks to @bep for the solution.
See #4672
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hugolib/page_bundler_test.go b/hugolib/page_bundler_test.go
@@ -75,7 +75,7 @@ func TestPageBundlerSiteRegular(t *testing.T) {
cfg.Set("uglyURLs", ugly)
- s := buildSingleSite(t, deps.DepsCfg{Fs: fs, Cfg: cfg}, BuildCfg{})
+ s := buildSingleSite(t, deps.DepsCfg{Logger: newWarningLogger(), Fs: fs, Cfg: cfg}, BuildCfg{})
th := testHelper{s.Cfg, s.Fs, t}