[PATCH STABLE] tests: register test-merge-combination.t as small but slow

Gregory Szorc gregory.szorc at gmail.com
Sat Sep 7 13:54:21 EDT 2019


On Sat, Sep 7, 2019 at 6:17 AM Pierre-Yves David <
pierre-yves.david at ens-lyon.org> wrote:

> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at octobus.net>
> # Date 1567860678 -7200
> #      Sat Sep 07 14:51:18 2019 +0200
> # Branch stable
> # Node ID 0552670ad381a377768b40ee8ddd3454f5a400d5
> # Parent  b22a8dadc6f52fd3d8f45ac71e71fe2be381017b
> # EXP-Topic run-tests-scheduling
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> #              hg pull https://bitbucket.org/octobus/mercurial-devel/ -r
> 0552670ad381
> tests: register test-merge-combination.t as small but slow
>

Queued for stable.


>
> run-tests.py use file size as an heuristic for test run time. The new
> `test-merge-combination.t` is a small file that do a lot of processing. As
> a
> result it tend to be scheduled really late but delay the full test run by
> a lot.
>
> On an example test run, the one-before-last test completed 279s after the
> start
> of the run, while `test-merge-combination.t` finished 355s after it. A 76s
> delay. This delay can be avoided since `test-merge-combination.t` only got
> started
> 175s after the start of the run.
>
> diff --git a/tests/run-tests.py b/tests/run-tests.py
> --- a/tests/run-tests.py
> +++ b/tests/run-tests.py
> @@ -2513,6 +2513,7 @@ def sorttests(testdescs, previoustimes,
>                  b'check': 100,
>                  b'gendoc': 100,
>                  b'contrib-perf': 200,
> +                b'merge-combination': 100,
>                  }
>          perf = {}
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20190907/01904e24/attachment.html>


More information about the Mercurial-devel mailing list