From d4efef2382b2b35c082ef258bd9de8613e3f91f8 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Wed, 22 Jan 2025 01:09:47 -0600 Subject: [PATCH] Add slow-test reporting to nextest in CI (#15662) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is helpful for spotting tests that are running slow. In uv, we use a 10s threshold. Here, it looks like we could use something smaller. e.g. Screenshot 2025-01-21 at 6 08 00 PM --- .config/nextest.toml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.config/nextest.toml b/.config/nextest.toml index e86fea2b36..2ab53e2239 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -6,3 +6,10 @@ failure-output = "immediate-final" fail-fast = false status-level = "skip" + +# Mark tests that take longer than 1s as slow. +# Terminate after 60s as a stop-gap measure to terminate on deadlock. +slow-timeout = { period = "1s", terminate-after = 60 } + +# Show slow jobs in the final summary +final-status-level = "slow"