Skip to content

Commit b83e0e5

Browse files
committed
chore: increase timeout for kani tests
Kani tests run very close to the current timeout values. Increase timeout to 1h. (cherry picked from commit ed0d202) Signed-off-by: Egor Lazarchuk <[email protected]>
1 parent 2c6e89c commit b83e0e5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/integration_tests/test_kani.py

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

1414
PLATFORM = platform.machine()
1515

16+
TIMEOUT = 3600
17+
1618

1719
# The `check_output` timeout will always fire before this one, but we need to
1820
# set a timeout here to override the default pytest timeout of 180s.
19-
@pytest.mark.timeout(2420)
21+
@pytest.mark.timeout(TIMEOUT)
2022
@pytest.mark.skipif(
2123
os.environ.get("BUILDKITE") != "true",
2224
reason="Kani's memory requirements likely cannot be satisfied locally",
@@ -33,7 +35,7 @@ def test_kani(results_dir):
3335
# --enable-unstable is needed to enable `-Z` flags
3436
_, stdout, _ = utils.check_output(
3537
"cargo kani --enable-unstable -Z stubbing -Z function-contracts --restrict-vtable -j --output-format terse",
36-
timeout=2400,
38+
timeout=TIMEOUT,
3739
)
3840

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

0 commit comments

Comments
 (0)