Commit 75bddc6a authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

beets: disable flaky tests on darwin

parent 5f8ae668
Loading
Loading
Loading
Loading
+14 −4
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  src,
  version,
  fetchpatch,
@@ -166,9 +167,18 @@ python3Packages.buildPythonApplication {

  __darwinAllowLocalNetworking = true;

  disabledTestPaths = disabledTestPaths ++ [
  disabledTestPaths =
    disabledTestPaths
    ++ [
      # touches network
      "test/plugins/test_aura.py"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # Flaky: several tests fail randomly with:
      # if not self._poll(timeout):
      #   raise Empty
      #   _queue.Empty
      "test/plugins/test_player.py"
    ];
  disabledTests = disabledTests ++ [
    # beets.ui.UserError: unknown command 'autobpm'