Skip to content

Commit a31edbf

Browse files
committed
chore: increase timeout for kani tests
Kani tests run very close to the current timeout values. Increase timeout to 1h. Signed-off-by: Egor Lazarchuk <[email protected]>
1 parent 5cfadb9 commit a31edbf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/integration_tests/test_kani.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313

1414
PLATFORM = platform.machine()
1515

16+
TIMEOUT = 3600
1617

1718
# The `check_output` timeout will always fire before this one, but we need to
1819
# set a timeout here to override the default pytest timeout of 180s.
19-
@pytest.mark.timeout(2420)
20+
@pytest.mark.timeout(TIMEOUT)
2021
@pytest.mark.skipif(
2122
os.environ.get("BUILDKITE") != "true",
2223
reason="Kani's memory requirements likely cannot be satisfied locally",
@@ -33,7 +34,7 @@ def test_kani(results_dir):
3334
# --enable-unstable is needed to enable `-Z` flags
3435
_, stdout, _ = utils.check_output(
3536
"cargo kani --enable-unstable -Z stubbing -Z function-contracts --restrict-vtable -j --output-format terse",
36-
timeout=2400,
37+
timeout=TIMEOUT,
3738
)
3839

3940
(results_dir / "kani_log").write_text(stdout, encoding="utf-8")

0 commit comments

Comments
 (0)