mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
ac54a3e99e
commit
a5d252eea3
@@ -0,0 +1,19 @@
|
|||||||
|
Mark as test as expected-failure, OpenSSL is leaking memory.
|
||||||
|
|
||||||
|
xfail not skip so we can remove this when OpenSSL doesn't leak anymore.
|
||||||
|
|
||||||
|
Upstream-Status: Inappropriate
|
||||||
|
Signed-off-by: Ross Burton <ross.burton@arm.com>
|
||||||
|
|
||||||
|
diff --git a/tests/hazmat/backends/test_openssl_memleak.py b/tests/hazmat/backends/test_openssl_memleak.py
|
||||||
|
index 835c9256..639f6ba2 100644
|
||||||
|
--- a/tests/hazmat/backends/test_openssl_memleak.py
|
||||||
|
+++ b/tests/hazmat/backends/test_openssl_memleak.py
|
||||||
|
@@ -466,6 +466,7 @@ class TestOpenSSLMemoryLeaks:
|
||||||
|
)
|
||||||
|
)
|
||||||
|
|
||||||
|
+ @pytest.mark.xfail(reason="has memory leaks")
|
||||||
|
def test_create_certificate_with_extensions(self):
|
||||||
|
assert_no_memory_leaks(
|
||||||
|
textwrap.dedent(
|
||||||
@@ -16,6 +16,7 @@ SRC_URI += " \
|
|||||||
file://check-memfree.py \
|
file://check-memfree.py \
|
||||||
file://0001-Cargo.toml-specify-pem-version.patch \
|
file://0001-Cargo.toml-specify-pem-version.patch \
|
||||||
file://0002-Cargo.toml-edition-2018-2021.patch \
|
file://0002-Cargo.toml-edition-2018-2021.patch \
|
||||||
|
file://skip-leaky-test.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
inherit pypi python_setuptools3_rust
|
inherit pypi python_setuptools3_rust
|
||||||
|
|||||||
Reference in New Issue
Block a user