Selaa lähdekoodia

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

Adding 20 minute pytest timeout
evanchia-ly-sdets 3 vuotta sitten
vanhempi
commit
70d7f9dd27
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      pytest.ini

+ 2 - 0
pytest.ini

@@ -12,6 +12,8 @@ norecursedirs = Python/3.10.5 Cache cmake
 junit_family=legacy
 log_format=%(asctime)s [%(levelname)8s] %(message)s (%(filename)s:%(lineno)s)
 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:
 markers = SUITE_smoke: Tiny, quick tests of fundamental operation (tests with no suite marker will also execute here in CI)