From 20b46776f191e4d2824d4d3bb071b9b30987adcd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20F=C3=B6rster?= Date: Tue, 9 Jul 2024 08:05:51 +0200 Subject: [PATCH] [dev-python/pymongocrypt] skip the segfaulting tests, need to check exact reason --- .../pymongocrypt/pymongocrypt-1.10.1.ebuild | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild b/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild index d51d507..4c847e9 100644 --- a/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild +++ b/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild @@ -40,3 +40,21 @@ PATCHES=( ) distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # slow + test/performance/perf_test.py::TestBulkDecryption::runTest + # needs mongodb-enterprise-6+ + test/test_mongocrypt.py::TestMongoCrypt::test_encrypt + test/test_mongocrypt.py::TestMongoCryptCallback::test_encrypt + test/test_mongocrypt.py::TestExplicitEncryption::test_rangePreview_query_int32 + test/test_mongocrypt.py::TestExplicitEncryption::test_range_query_int32 +# test/test_mongocrypt.py::TestAsyncExplicitEncryption::test_range_query_int32 +# test/test_mongocrypt.py::TestMongoCrypt::test_encrypt_encrypted_fields_map +# test/test_mongocrypt.py::TestMongoCryptCallback::test_crypt_shared +# test/test_mongocrypt.py::TestAsyncMongoCryptCallback::test_encrypt +# test/test_mongocrypt.py::TestAsyncMongoCryptCallback::test_crypt_shared + ) + epytest +}