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
This commit is contained in:
Anthony Fok 2018-04-27 08:39:36 -06:00
parent 4eedb377b6
commit 9bd4236e1b
No known key found for this signature in database
GPG key ID: EA2500B412C59ACF

View file

@ -75,7 +75,7 @@ func TestPageBundlerSiteRegular(t *testing.T) {
cfg.Set("uglyURLs", ugly) 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} th := testHelper{s.Cfg, s.Fs, t}