From db6c2f21303cd15ec5599f5ffa49b7bf47da587c Mon Sep 17 00:00:00 2001 From: "Adam C. Stephens" Date: Mon, 21 Sep 2026 23:49:56 -0400 Subject: [PATCH] rustfs: disable tests --- pkgs/by-name/ru/rustfs/package.nix | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/pkgs/by-name/ru/rustfs/package.nix b/pkgs/by-name/ru/rustfs/package.nix index ec46d3c3617f..699bb3b8e3a1 100644 --- a/pkgs/by-name/ru/rustfs/package.nix +++ b/pkgs/by-name/ru/rustfs/package.nix @@ -9,7 +9,6 @@ rustPlatform, protobuf, cacert, - tzdata, nix-update, nixosTests, writeShellApplication, @@ -81,28 +80,13 @@ rustPlatform.buildRustPackage (finalAttrs: { inherit console; - env = { - RUSTFLAGS = "--cfg tokio_unstable"; - # reqwest loads CA certs even if not used during tests - SSL_CERT_FILE = "${cacert}/etc/ssl/certs/ca-bundle.crt"; - # jiff needs a time zone database to resolve zones like UTC during tests - TZDIR = "${tzdata}/share/zoneinfo"; - }; + env.RUSTFLAGS = "--cfg tokio_unstable"; # Only build the main rustfs binary cargoBuildFlags = "-p rustfs"; - useNextest = true; - # Use debug mode to reduce test compilation time. - checkType = "debug"; - cargoTestFlags = [ - "--package" - "rustfs" - "--no-fail-fast" - - "--filterset" - "not (test(connect::) or binary(connect_*) or test(=version::tests::test_is_head_newer_than_tag_requires_strict_descendant))" - ]; + # they are to intensive on the resource usage, we are just relying on nixos vm test + doCheck = false; passthru = { tests = {