summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3-cryptography
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2022-03-14 13:56:54 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-03-16 08:48:08 +0000
commita5d252eea3e5a1196d1c72bfdeef4c61b898cedb (patch)
treed8191ebc19051aa8c8ed25a637fc3f4908a062aa /meta/recipes-devtools/python/python3-cryptography
parentac54a3e99e462279279a01bcf7424ffc988e6aba (diff)
downloadpoky-a5d252eea3e5a1196d1c72bfdeef4c61b898cedb.tar.gz
python3-cryptography: mark test_create_certificate_with_extensions as expected to fail
This test causes OpenSSL to leak some memory. Until this is resolved in OpenSSL, mark the test as expected-to-fail. (From OE-Core rev: b32917b113df6dce0200d35dd1b539279635d524) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python/python3-cryptography')
-rw-r--r--meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch b/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch
new file mode 100644
index 0000000000..64248d57bd
--- /dev/null
+++ b/meta/recipes-devtools/python/python3-cryptography/skip-leaky-test.patch
@@ -0,0 +1,19 @@
1Mark as test as expected-failure, OpenSSL is leaking memory.
2
3xfail not skip so we can remove this when OpenSSL doesn't leak anymore.
4
5Upstream-Status: Inappropriate
6Signed-off-by: Ross Burton <ross.burton@arm.com>
7
8diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py
9index 835c9256..639f6ba2 100644
10--- a/tests/hazmat/backends/test_openssl_memleak.py
11+++ b/tests/hazmat/backends/test_openssl_memleak.py
12@@ -466,6 +466,7 @@ class TestOpenSSLMemoryLeaks:
13 )
14 )
15
16+ @pytest.mark.xfail(reason="has memory leaks")
17 def test_create_certificate_with_extensions(self):
18 assert_no_memory_leaks(
19 textwrap.dedent(