Skip to content
Snippets Groups Projects
Commit f85c91eabaeb authored by Pierre-Yves David's avatar Pierre-Yves David :octopus:
Browse files

scheduling: use the new flexible repeat mechanism

We use the new options offered by upstream ASV. We use a 3 repeat minimum and
10 repeat max. Max time (before we give up on max repeat) is 60 seconds per
variants.
parent 3dd6964fdd4e
No related branches found
No related tags found
No related merge requests found
...@@ -133,8 +133,6 @@ ...@@ -133,8 +133,6 @@
class ArchiveTimeTestSuite(BaseTestSuite): class ArchiveTimeTestSuite(BaseTestSuite):
# work-around repeat because mozilla central en netbeans are very slow # work-around repeat because mozilla central en netbeans are very slow
# mercurial's own archive is about a second so it would use more run. # mercurial's own archive is about a second so it would use more run.
repeat = 3
number = 1
timeout = 300 timeout = 300
param_names = TimeTestSuite.param_names + ['type'] param_names = TimeTestSuite.param_names + ['type']
...@@ -373,8 +371,6 @@ ...@@ -373,8 +371,6 @@
class PushPullTimeSuite(BaseExchangeTimeSuite): class PushPullTimeSuite(BaseExchangeTimeSuite):
# Force setup to be called between two push or pull # Force setup to be called between two push or pull
number = 1
repeat = 20
warmup_time = 0 warmup_time = 0
def setup(self, *args, **kwargs): def setup(self, *args, **kwargs):
......
...@@ -138,6 +138,8 @@ ...@@ -138,6 +138,8 @@
class BaseTestSuite(object): class BaseTestSuite(object):
timer = timeit.default_timer timer = timeit.default_timer
repeat = (3, 10, 60.0)
number = 1
params = [REPOS] params = [REPOS]
param_names = ["repo"] param_names = ["repo"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment