CI: Strict job timeout 1.5h for tests, 2h for builds

This commit is contained in:
Max Kainov 2024-08-06 19:02:49 +02:00
parent 357013f08d
commit f0fdba3bbe
2 changed files with 2 additions and 5 deletions

View File

@ -510,7 +510,6 @@ class CI:
JobNames.LIBFUZZER_TEST: JobConfig(
required_builds=[BuildNames.FUZZERS],
run_by_label=Tags.libFuzzer,
timeout=10800,
run_command='libfuzzer_test_check.py "$CHECK_NAME"',
runner_type=Runners.STYLE_CHECKER,
),

View File

@ -331,7 +331,7 @@ class JobConfig:
# will be triggered for the job if omitted in CI workflow yml
run_command: str = ""
# job timeout, seconds
timeout: Optional[int] = None
timeout: Optional[int] = 5400
# sets number of batches for a multi-batch job
num_batches: int = 1
# label that enables job in CI, if set digest isn't used
@ -420,7 +420,6 @@ class CommonJobConfigs:
),
run_command='functional_test_check.py "$CHECK_NAME"',
runner_type=Runners.FUNC_TESTER,
timeout=9000,
)
STATEFUL_TEST = JobConfig(
job_name_keyword="stateful",
@ -531,7 +530,6 @@ class CommonJobConfigs:
docker=["clickhouse/sqllogic-test"],
),
run_command="sqllogic_test.py",
timeout=10800,
release_only=True,
runner_type=Runners.FUNC_TESTER,
)
@ -543,7 +541,6 @@ class CommonJobConfigs:
docker=["clickhouse/sqltest"],
),
run_command="sqltest.py",
timeout=10800,
release_only=True,
runner_type=Runners.FUZZER_UNIT_TESTER,
)
@ -613,6 +610,7 @@ class CommonJobConfigs:
docker=["clickhouse/binary-builder"],
git_submodules=True,
),
timeout=7200,
run_command="build_check.py $BUILD_NAME",
runner_type=Runners.BUILDER,
)