python3Packages.rq: disable racy test

It reaps a worker and checks if it has been removed right after, but this
is apparently racy.

(cherry picked from commit 56913ae775)
This commit is contained in:
Martin Weinelt
2026-06-25 10:38:05 +02:00
committed by Vladimír Čunát
parent 4786402ab9
commit f7d85f7b37

View File

@@ -76,6 +76,10 @@ buildPythonPackage (finalAttrs: {
# PermissionError: [Errno 13] Permission denied: '/tmp/rq-tests.txt'
"test_deleted_jobs_arent_executed"
"test_suspend_worker_execution"
]
++ lib.optionals stdenv.hostPlatform.isLinux [
# no delay between reaping worker and checking; racy
"test_reap_workers"
];
pythonImportsCheck = [ "rq" ];