From 0faf011b453ae378da8f070683c1b5c83970b503 Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 8 May 2026 13:07:38 +0700 Subject: [PATCH] substudy: skip flaky cache test --- pkgs/by-name/su/substudy/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/su/substudy/package.nix b/pkgs/by-name/su/substudy/package.nix index e3bddfe28ecf..5171ce570fd6 100644 --- a/pkgs/by-name/su/substudy/package.nix +++ b/pkgs/by-name/su/substudy/package.nix @@ -26,6 +26,11 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoBuildFlags = [ "-p substudy" ]; + checkFlags = [ + # flaky: relies on sqlite ms timestamps differing across 3 quick inserts + "--skip=cache::tests::test_cache" + ]; + preCheck = '' # That's to make sure the `test_ai_request_static` # test has access to the cache at `$HOME/.cache`