Skip to content

Commit c383af0

Browse files
committed
Increate timeout on 5 test suites
`size = "small"` sets a 60 sec timeout, which is not enough on GitHub.
1 parent 8c7ccc3 commit c383af0

5 files changed

Lines changed: 5 additions & 0 deletions

File tree

tests/unit/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ py_test(
7272
py_test(
7373
name = "repo_community",
7474
size = "small",
75+
timeout = "moderate",
7576
# This is the "catch all" target. Don't add new stuff here.
7677
srcs = [
7778
"__init__.py",

tests/unit/cmk/base/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ py_pytest_main(
1919
py_test(
2020
name = "base",
2121
size = "small",
22+
timeout = "moderate",
2223
srcs = ["__test__.py"] + glob(["**/*.py"]),
2324
args = [
2425
"--config-file=$(location @//:pyproject.toml)",

tests/unit/cmk/legacy_checks/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ py_pytest_main(
1515
py_test(
1616
name = "legacy_checks",
1717
size = "small",
18+
timeout = "moderate",
1819
srcs = ["__test__.py"] + glob(["**/*.py"]),
1920
args = [
2021
"--config-file=$(location @//:pyproject.toml)",

tests/unit/cmk/post_rename_site/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ py_pytest_main(
3030
py_test(
3131
name = "post_rename_site",
3232
size = "small",
33+
timeout = "moderate",
3334
srcs = ["__test__.py"] + glob(
3435
include = ["**/*.py"],
3536
exclude = [

tests/unit/cmk/utils/BUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ py_pytest_main(
1515
py_test(
1616
name = "utils",
1717
size = "small",
18+
timeout = "moderate",
1819
srcs = ["__test__.py"] + glob(["**/*.py"]),
1920
args = [
2021
"--config-file=$(location @//:pyproject.toml)",

0 commit comments

Comments
 (0)