Commit f03a8cae authored by OPNA2608's avatar OPNA2608
Browse files

ayatana-indicator-sound: Lengthen timeouts in tests

OfBorg please...
parent 8ae6f582
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -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;