From cabae239bc369cd0bcf62e36e972d44a8257face Mon Sep 17 00:00:00 2001 From: Luflosi Date: Sun, 5 Oct 2025 22:50:27 +0200 Subject: [PATCH] ipfs-cluster: skip flaky test --- pkgs/by-name/ip/ipfs-cluster/package.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/pkgs/by-name/ip/ipfs-cluster/package.nix b/pkgs/by-name/ip/ipfs-cluster/package.nix index a9798cb3469a..c4c0f6b7407e 100644 --- a/pkgs/by-name/ip/ipfs-cluster/package.nix +++ b/pkgs/by-name/ip/ipfs-cluster/package.nix @@ -17,6 +17,18 @@ buildGo124Module (finalAttrs: { hash = "sha256-mdLrLiRNudpQ8i0lvwoNAqhSWJ8VMEC1ZRxXHWHpqLY="; }; + checkFlags = + let + skippedTests = [ + # Flaky test, sometimes fails with: + # --- FAIL: TestClustersPeerAddInUnhealthyCluster (7.58s) + # peer_manager_test.go:247: failed to dial: failed to dial QmSookyjcPhxchnHeo2jtssHqe8zdmhgEQiY61yUcWjWp5: all dials failed + # * [/ip4/127.0.0.1/tcp/46571] dial backoff + "TestClustersPeerAddInUnhealthyCluster" + ]; + in + [ "-skip=^${builtins.concatStringsSep "$|^" skippedTests}$" ]; + __darwinAllowLocalNetworking = true; # required for tests meta = with lib; {