From aac2a83c30dd030640acbf7be71989526383f54d Mon Sep 17 00:00:00 2001 From: Joonas Koivunen Date: Thu, 18 Jan 2024 16:12:56 +0000 Subject: [PATCH] [PRE-MERGE CHERRY-PICK OF #6389]: build: terminate long running tests configures nextest to kill tests after 1 minute. slow period is set to 20s which is how long our tests currently take, there will be 3 warnings and then the test will be killed and it's output logged. (cherry picked from commit 31d2624e7280551c731441b916d6f848878d2122) --- .config/nextest.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/nextest.toml b/.config/nextest.toml index 8bccd51c6dd69..a9398e4ab06a0 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -1,2 +1,2 @@ [profile.default] -slow-timeout = "1m" +slow-timeout = { period = "20s", terminate-after = 3 }