URI: 
       para: Show more detail on failed time test - hugo - [fork] hugo port for 9front
  HTML git clone git@git.drkhsh.at/hugo.git
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
   DIR README
   DIR LICENSE
       ---
   DIR commit 8103188b9b9e8eeb3bcb53c8b64e2b83397e82ae
   DIR parent 3ba147e702a5ae0af6e8b3b0296d256c3246a546
  HTML Author: Cameron Moore <moorereason@gmail.com>
       Date:   Thu, 17 Dec 2020 11:31:40 -0600
       
       para: Show more detail on failed time test
       
       Give us more visibility into how badly a given host is failing in the
       time test.
       
       Updates #6963
       
       Diffstat:
         M common/para/para_test.go            |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/common/para/para_test.go b/common/para/para_test.go
       @@ -81,6 +81,9 @@ func TestPara(t *testing.T) {
        
                        c.Assert(r.Wait(), qt.IsNil)
                        c.Assert(counter, qt.Equals, int64(n))
       -                c.Assert(time.Since(start) < n/2*time.Millisecond, qt.Equals, true)
       +
       +                since := time.Since(start)
       +                limit := n / 2 * time.Millisecond
       +                c.Assert(since < limit, qt.Equals, true, qt.Commentf("%s >= %s", since, limit))
                })
        }