# HG changeset patch # User Pierre-Yves David # Date 2019-12-13 09:37:45 # Node ID 60bc043d7df77d12d6ac551f0e5ac938f1a30b74 # Parent 71e13cfd615462b06f117758ce8d9ce29d4bbbbd test: pin the number of CPU for issue4074 tests On machine with an hundreds of CPUs, the "user" CPU time reported can be inflated by the status steps. Since the test especially focus on the diff computation, we restrict the number of CPU to avoid potential issues. Differential Revision: https://phab.mercurial-scm.org/D8112 diff --git a/tests/test-issue4074.t b/tests/test-issue4074.t --- a/tests/test-issue4074.t +++ b/tests/test-issue4074.t @@ -25,5 +25,5 @@ Modify it: Time a check-in, should never take more than 10 seconds user time: - $ hg ci --time -m1 + $ hg ci --time -m1 --config worker.enabled=no time: real .* secs .user [0-9][.].* sys .* (re)