Mercurial > hg
changeset 40637:4790732559ad stable
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
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 14 Nov 2018 11:52:13 -0500 |
parents | e5f54c4ec075 |
children | 437520219e0c 69d4c8c5c25e |
files | tests/test-profile.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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