ソースを参照

Merge pull request #11237 from aws-lumberyard-dev/pytest_timeouts

Adding 20 minute pytest timeout
evanchia-ly-sdets 3 年 前
コミット
70d7f9dd27
1 ファイル変更2 行追加0 行削除
  1. 2 0
      pytest.ini

+ 2 - 0
pytest.ini

@@ -12,6 +12,8 @@ norecursedirs = Python/3.10.5 Cache cmake
 junit_family=legacy
 junit_family=legacy
 log_format=%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
 log_format=%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
 addopts='--tb=short' '--show-capture=log'
 addopts='--tb=short' '--show-capture=log'
+# Setting pytest timeout defaulting to 20 minutes for a single test case (CMake timeout being 25 minutes)
+timeout=1200
 
 
 # primary suite markers which should appear on every filterable test and be mutually exclusive:
 # primary suite markers which should appear on every filterable test and be mutually exclusive:
 markers = SUITE_smoke: Tiny, quick tests of fundamental operation (tests with no suite marker will also execute here in CI)
 markers = SUITE_smoke: Tiny, quick tests of fundamental operation (tests with no suite marker will also execute here in CI)