beets: disable flaky tests on darwin

This commit is contained in:
Gaetan Lepage
2025-02-28 10:13:31 +01:00
parent 5f8ae668ae
commit 75bddc6a8f
+14 -4
View File
@@ -1,5 +1,6 @@
{
lib,
stdenv,
src,
version,
fetchpatch,
@@ -166,10 +167,19 @@ python3Packages.buildPythonApplication {
__darwinAllowLocalNetworking = true;
disabledTestPaths = disabledTestPaths ++ [
# touches network
"test/plugins/test_aura.py"
];
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'
"test/plugins/test_autobpm.py::TestAutoBPMPlugin::test_import"