# HG changeset patch # User Philippe Pepiot <philippe.pepiot@logilab.fr> # Date 1522945415 -7200 # Thu Apr 05 18:23:35 2018 +0200 # Node ID 8ffc0035a0e7383332ddc3372dbc1a4760dc46dc # Parent 039b164ab761980d9ac1c7c5ec465a373f0c6a55 set timeout to 1800 (30 minutes) for all exchange benchmarks For older versions of mercurial (like 3.2.3) on big repos (like netbeans), exchange benchmarks can take ~60s to run, with 20 repeatitions it take 20 minutes to have a value. Set the timeout to 30 minutes then. diff --git a/benchmarks/basic_commands.py b/benchmarks/basic_commands.py --- a/benchmarks/basic_commands.py +++ b/benchmarks/basic_commands.py @@ -130,6 +130,7 @@ [None, 'default']] timer = timeit.default_timer sample_time = 10 + timeout = 1800 def _remote_path_cmd(self, path): if self.repo_type == 'local': @@ -194,7 +195,6 @@ class PushPullTimeSuite(BaseExchangeTimeSuite): - timeout = 300 # Force setup to be called between two push or pull number = 1 repeat = 20