mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +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:
|
else:
|
||||||
params = " ".join(sys.argv[1:])
|
params = " ".join(sys.argv[1:])
|
||||||
|
|
||||||
cmd = "py.test -v -n=4 --timeout=600 --cov=dvc " "{params} ".format(
|
cmd = (
|
||||||
params=params
|
"py.test -v -n=4 --timeout=600 --timeout_method=thread --cov=dvc "
|
||||||
|
"{params} ".format(params=params)
|
||||||
)
|
)
|
||||||
check_call(cmd, shell=True)
|
check_call(cmd, shell=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user