Skip to content

Commit

Permalink
Add xfail to rust-openssl test
Browse files Browse the repository at this point in the history
The tests of the rust-openssl crate are currently failing because upstream
enabled tests using the prime192 curve, but this curve has been disabled in
openSUSE.

Pending upstream fix: sfackler/rust-openssl#2330
  • Loading branch information
dcermak committed Nov 15, 2024
1 parent 356de47 commit f2b7643
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import pytest
from pytest_container import GitRepositoryBuild

from bci_tester.data import OS_VERSION
from bci_tester.data import RUST_CONTAINERS

CONTAINER_IMAGES = RUST_CONTAINERS
Expand Down Expand Up @@ -41,6 +42,16 @@ def test_cargo_version(auto_container):
GitRepositoryBuild(
repository_url="https://github.com/sfackler/rust-openssl",
build_command="zypper -n in libopenssl-devel && cargo build && cargo test",
marks=(
None
if OS_VERSION != "tumbleweed"
else pytest.mark.xfail(
reason=(
"broken test on Tumbleweed due to disabled prime curves,"
"see https://github.com/sfackler/rust-openssl/pull/2330"
)
)
),
),
GitRepositoryBuild(
repository_url="https://github.com/rust-random/rand",
Expand Down

0 comments on commit f2b7643

Please sign in to comment.