tests: increase timeout for slow test
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 24 Feb 2019 19:56:40 +0100
changeset 41801 9f53a4e2e193
parent 41800 5f198b690301
child 41802 7eb4e62d4760
tests: increase timeout for slow test Test case `test-sparse-revlog.t` need some artifact (a bundle) build before it can run. The artifact is expensive to build, but can be reused from one run to the other. We are about to update that test to make the artifact building automatic if `--allow-slow-tests` is passed. However, we need a bump the timeout a bit to make sure the artifact building as time to finish. We could maybe teach run-tests.py how to directly handle such artifacts. However since there is only one of them for now, this seems premature. There are also some room to speed up the bundle creation for test-sparse-revlog.t
tests/run-tests.py
--- a/tests/run-tests.py	Mon Feb 25 18:51:08 2019 -0800
+++ b/tests/run-tests.py	Sun Feb 24 19:56:40 2019 +0100
@@ -290,7 +290,7 @@
 defaults = {
     'jobs': ('HGTEST_JOBS', multiprocessing.cpu_count()),
     'timeout': ('HGTEST_TIMEOUT', 180),
-    'slowtimeout': ('HGTEST_SLOWTIMEOUT', 500),
+    'slowtimeout': ('HGTEST_SLOWTIMEOUT', 1500),
     'port': ('HGTEST_PORT', 20059),
     'shell': ('HGTEST_SHELL', 'sh'),
 }