From f03a8caee567853df1713958eb33aa0ee8697ad4 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 26 Aug 2025 17:10:42 +0200 Subject: [PATCH] ayatana-indicator-sound: Lengthen timeouts in tests OfBorg please... --- pkgs/by-name/ay/ayatana-indicator-sound/package.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/by-name/ay/ayatana-indicator-sound/package.nix b/pkgs/by-name/ay/ayatana-indicator-sound/package.nix index cb21509d75ed..142aefe75ad6 100644 --- a/pkgs/by-name/ay/ayatana-indicator-sound/package.nix +++ b/pkgs/by-name/ay/ayatana-indicator-sound/package.nix @@ -48,6 +48,17 @@ stdenv.mkDerivation (finalAttrs: { # Build-time Vala codegen substituteInPlace src/CMakeLists.txt \ --replace-fail '/usr/share/gir-1.0/AccountsService-1.0.gir' '${lib.getDev accountsservice}/share/gir-1.0/AccountsService-1.0.gir' + + # timeouts are too short for aarch64 OfBorg builder under loads, which leads to spurious test failures + substituteInPlace \ + tests/accounts-service-user.cc \ + tests/media-player-user.cc \ + tests/name-watch-test.cc \ + tests/notifications-test.cc \ + tests/volume-control-test.cc \ + --replace-quiet 'loop(50)' 'loop(500)' \ + --replace-quiet 'loop(100)' 'loop(1000)' \ + --replace-quiet 'loop(500)' 'loop(5000)' \ ''; strictDeps = true;