From ae7b7bcf7c1bd16389918744ac83fb3177070c1d Mon Sep 17 00:00:00 2001 From: Bojan Serafimov Date: Mon, 30 May 2022 16:21:43 -0400 Subject: [PATCH] Run multiple times --- test_runner/batch_others/test_ci.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_runner/batch_others/test_ci.py b/test_runner/batch_others/test_ci.py index e936ad076b..9d2b96b821 100644 --- a/test_runner/batch_others/test_ci.py +++ b/test_runner/batch_others/test_ci.py @@ -4,7 +4,9 @@ import time from fixtures.zenith_fixtures import ZenithEnvBuilder -def test_timeout(zenith_env_builder: ZenithEnvBuilder, test_output_dir: str): + +@pytest.mark.parametrize('iteration', [range(100)]) +def test_timeout(zenith_env_builder: ZenithEnvBuilder, test_output_dir: str, iteration: int): env = zenith_env_builder.init_start() # Sleep long enough with no output so CI step times out