From 0757862a7a877e0be17d4eaedf12a26cd4623741 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Thu, 1 Feb 2024 00:43:09 -0800 Subject: [PATCH] Accommodate minute-level filters in Insta (#1219) I don't know why `compile_editable` took over a minute in this case, but seems like it did? Hard to test this fix. https://github.com/astral-sh/puffin/actions/runs/7734769259/job/21089338951?pr=1216 --- crates/puffin/tests/common/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/puffin/tests/common/mod.rs b/crates/puffin/tests/common/mod.rs index f5b2d831f..a20c257b2 100644 --- a/crates/puffin/tests/common/mod.rs +++ b/crates/puffin/tests/common/mod.rs @@ -17,7 +17,7 @@ pub static EXCLUDE_NEWER: &str = "2023-11-18T12:00:00Z"; pub const INSTA_FILTERS: &[(&str, &str)] = &[ (r"--cache-dir [^\s]+", "--cache-dir [CACHE_DIR]"), // Operation times - (r"(\d+\.)?\d+(ms|s)", "[TIME]"), + (r"(\d+m )?(\d+\.)?\d+(ms|s)", "[TIME]"), // Puffin versions (r"v\d+\.\d+\.\d+", "v[VERSION]"), // File sizes