Browse files

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
  • Loading branch information...
anthonyfok committed Apr 27, 2018
1 parent 4eedb37 commit 9bd4236e1b3bee332439eef50e12d4481340c3eb
Showing with 1 addition and 1 deletion.
  1. +1 −1 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}

0 comments on commit 9bd4236

Please sign in to comment.