mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
set timeouts method to thread to avoid problems in parallel run
This commit is contained in:
+3
-2
@@ -17,7 +17,8 @@ if len(sys.argv) == 1:
|
||||
else:
|
||||
params = " ".join(sys.argv[1:])
|
||||
|
||||
cmd = "py.test -v -n=4 --timeout=600 --cov=dvc " "{params} ".format(
|
||||
params=params
|
||||
cmd = (
|
||||
"py.test -v -n=4 --timeout=600 --timeout_method=thread --cov=dvc "
|
||||
"{params} ".format(params=params)
|
||||
)
|
||||
check_call(cmd, shell=True)
|
||||
|
||||
Reference in New Issue
Block a user