# HG changeset patch # User Augie Fackler # Date 1542214333 18000 # Node ID 4790732559ade2c1ab13608ba8d9e0c22d335b9b # Parent e5f54c4ec075f28770ae16619a839e6431df0935 tests: allow for 100% of profiled time in sleep in test-profile.t I'm getting an annoying failure in this test on our builder, and I *think* what's happening is that the profiler is taking _just_ long enough to start that we're spending 100% of the profiled time in the sleep function, which was causing the leading space to not be printed since the 100 was in the first column of output. Differential Revision: https://phab.mercurial-scm.org/D5272 diff -r e5f54c4ec075 -r 4790732559ad tests/test-profile.t --- a/tests/test-profile.t Wed Nov 14 15:06:21 2018 +0800 +++ b/tests/test-profile.t Wed Nov 14 11:52:13 2018 -0500 @@ -90,7 +90,7 @@ $ head -n 3 ../out % cumulative self time seconds seconds name - * sleepext.py:*:sleep (glob) + * sleepext.py:*:sleep (glob) $ cat ../out | statprofran $ hg --profile --config profiling.statformat=bymethod sleep 2>../out