[PATCH STABLE] tests: give more room for slowness in test-run-tests.t
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Thu Aug 8 08:57:55 UTC 2019
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at octobus.net>
# Date 1565254506 -7200
# Thu Aug 08 10:55:06 2019 +0200
# Branch stable
# Node ID f4f244549ffa6f9f6c86849b756d5b4028bf6f24
# Parent cba59b338976af0e4c92cf16b8f95331e6ac4f30
# EXP-Topic test-runtests
# Available At https://bitbucket.org/octobus/mercurial-devel/
# hg pull https://bitbucket.org/octobus/mercurial-devel/ -r f4f244549ffa
tests: give more room for slowness in test-run-tests.t
The test expected any run-test.py run to end in less than 10 seconds. On slower,
loaded CI machine this get slower than that. We give a bit more room to the
regexp.
diff --git a/tests/test-run-tests.t b/tests/test-run-tests.t
--- a/tests/test-run-tests.t
+++ b/tests/test-run-tests.t
@@ -1030,7 +1030,7 @@ test for --time
# Ran 1 tests, 0 skipped, 0 failed.
# Producing time report
start end cuser csys real Test
- \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re)
+ \s*[\d\.]{5,8} \s*[\d\.]{5,8} \s*[\d\.]{5,8} \s*[\d\.]{5,8} \s*[\d\.]{5,8} test-success.t (re)
test for --time with --job enabled
====================================
@@ -1041,7 +1041,7 @@ test for --time with --job enabled
# Ran 1 tests, 0 skipped, 0 failed.
# Producing time report
start end cuser csys real Test
- \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} \s*[\d\.]{5} test-success.t (re)
+ \s*[\d\.]{5,8} \s*[\d\.]{5,8} \s*[\d\.]{5,8} \s*[\d\.]{5,8} \s*[\d\.]{5,8} test-success.t (re)
Skips
================
More information about the Mercurial-devel
mailing list