python3Packages.psycopg: Disable timing sensitive tests

Our build cluster is often busy and cannot really deal with
This commit is contained in:
Martin Weinelt 2023-01-31 16:19:28 +01:00
parent 7bc841939d
commit 6fb0f96f73

View File

@ -183,10 +183,6 @@ buildPythonPackage rec {
# don't depend on mypy for tests # don't depend on mypy for tests
"test_version" "test_version"
"test_package_version" "test_package_version"
] ++ lib.optionals (stdenv.isDarwin) [
# racy test
"test_sched"
"test_sched_error"
]; ];
disabledTestPaths = [ disabledTestPaths = [
@ -199,7 +195,8 @@ buildPythonPackage rec {
]; ];
pytestFlagsArray = [ pytestFlagsArray = [
"-o cache_dir=$TMPDIR" "-o" "cache_dir=$TMPDIR"
"-m" "'not timing'"
]; ];
postCheck = '' postCheck = ''