From 663d141345dd403fef71cab1a21dd75703cdfe80 Mon Sep 17 00:00:00 2001 From: Shobhit Singh Date: Wed, 25 Oct 2023 23:43:47 +0000 Subject: [PATCH] test: Log slowest tests durations --- noxfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/noxfile.py b/noxfile.py index 1864da9fe7..d0bbda80fd 100644 --- a/noxfile.py +++ b/noxfile.py @@ -305,8 +305,10 @@ def run_system( "py.test", "--quiet", "-n=20", - # Any individual test taking longer than 10 mins will be terminated. + # Any individual test taking longer than 15 mins will be terminated. "--timeout=900", + # Log 20 slowest tests + "--durations=20", f"--junitxml={prefix_name}_{session.python}_sponge_log.xml", ] if print_duration: