Skip to content

Commit 815f578

Browse files
authored
chore: increase timeout on load tests (#419)
* chore: increase timeout on load tests * increase vm timeout too
1 parent 6a3b0cc commit 815f578

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.kokoro/load/common.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ action {
88
}
99

1010
build_file: "python-bigquery-dataframes/.kokoro/build.sh"
11+
timeout_mins: 360

noxfile.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ def run_system(
290290
install_test_extra=True,
291291
print_duration=False,
292292
extra_pytest_options=(),
293+
timeout_seconds=900,
293294
):
294295
"""Run the system test suite."""
295296
constraints_path = str(
@@ -311,7 +312,7 @@ def run_system(
311312
"--quiet",
312313
"-n=20",
313314
# Any individual test taking longer than 15 mins will be terminated.
314-
"--timeout=900",
315+
f"--timeout={timeout_seconds}",
315316
# Log 20 slowest tests
316317
"--durations=20",
317318
f"--junitxml={prefix_name}_{session.python}_sponge_log.xml",
@@ -395,6 +396,7 @@ def load(session: nox.sessions.Session):
395396
prefix_name="load",
396397
test_folder=os.path.join("tests", "system", "load"),
397398
print_duration=True,
399+
timeout_seconds=60 * 60,
398400
)
399401

400402

0 commit comments

Comments
 (0)