Skip to content
Snippets Groups Projects
Commit 47907325 authored by Augie Fackler's avatar Augie Fackler
Browse files

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
parent e5f54c4e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment