# HG changeset patch # User Pierre-Yves David # Date 2020-10-02 08:29:22 # Node ID ede4a1bf14bdd101e0760db8b8c7e8d65865050e # Parent 588068d5f2da63a0a459149b2f2da34491df7e5f test: try to unflaky test-profile.t That test rely on timing measurement, because it is about timing measurement. We try to filter out the most common source of flakyness (slow disk stating) diff --git a/tests/test-profile.t b/tests/test-profile.t --- a/tests/test-profile.t +++ b/tests/test-profile.t @@ -87,7 +87,7 @@ statistical profiler works Various statprof formatters work $ hg --profile --config profiling.statformat=byline sleep 2>../out || cat ../out - $ head -n 3 ../out + $ grep -v _path_stat ../out | head -n 3 % cumulative self time seconds seconds name * sleepext.py:*:sleep (glob)