This is an archive of the discontinued Mercurial Phabricator instance.

tests: allow for 100% of profiled time in sleep in test-profile.t
ClosedPublic

Authored by durin42 on Nov 14 2018, 11:52 AM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Nov 14 2018, 11:52 AM
This revision was automatically updated to reflect the committed changes.