From d47e3c40b8504de43283bdc86df02c9f9a2bae4b Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Mon, 11 Jul 2022 11:03:06 +0200 Subject: [PATCH] tests: limit printed durations to 50 --- tests/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/__main__.py b/tests/__main__.py index f3dbe0337..25b881838 100644 --- a/tests/__main__.py +++ b/tests/__main__.py @@ -14,7 +14,7 @@ os.putenv( ) os.putenv("DVC_HOME", REPO_ROOT) -opts = "-v -n=auto --dist loadscope --cov=dvc --durations=0" +opts = "-v -n=auto --dist loadscope --cov=dvc --durations=50" params = " ".join(sys.argv[1:]) cmd = f"{sys.executable} -m pytest {opts} {params}" check_call(cmd, shell=True)