@@ -187,10 +187,17 @@ def parallel(item, m):
187187 testname = get_testname (item )
188188 # Only spew tracebacks on rank 0.
189189 # Run xfailing tests to ensure that errors are reported to calling process
190- args = ["-n" , "1" , pyversion , "-m" , "pytest" , "-s" , "--runxfail" , "-v" , testname ]
190+ args = [
191+ "-n" , "1" , pyversion , "-m" , "pytest" , "-s" , "--runxfail" , "-v" ,
192+ "--timeout=600" , "--timeout-method=thread" , "-o faulthandler_timeout=660" ,
193+ testname
194+ ]
191195 if nprocs > 1 :
192- args .extend ([":" , "-n" , "%d" % (nprocs - 1 ), pyversion , "-m" , "pytest" ,
193- "-s" , "--runxfail" , "-v" , "--no-summary" , testname ])
196+ args .extend ([
197+ ":" , "-n" , "%d" % (nprocs - 1 ), pyversion , "-m" , "pytest" ,
198+ "-s" , "--runxfail" , "-v" , "--timeout=600" , "--timeout-method=thread" ,
199+ "-o faulthandler_timeout=660" , testname
200+ ])
194201 # OpenMPI requires an explicit flag for oversubscription. We need it as some
195202 # of the MPI tests will spawn lots of processes
196203 if mpi_distro == 'OpenMPI' :
0 commit comments