Skip to content

Commit

Permalink
Merge pull request #683 from SUSE/dont-test-jshell
Browse files Browse the repository at this point in the history
Don't check that jshell is the CMD on SLE 15 SP7+
  • Loading branch information
dirkmueller authored Jan 3, 2025
2 parents dceed2f + b574d8d commit 8611d55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_openjdk_devel.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from bci_tester.data import OPENJDK_DEVEL_11_CONTAINER
from bci_tester.data import OPENJDK_DEVEL_17_CONTAINER
from bci_tester.data import OPENJDK_DEVEL_21_CONTAINER
from bci_tester.data import OS_VERSION
from tests import test_openjdk

CONTAINER_TEST_DIR = "/tmp/"
Expand Down Expand Up @@ -87,6 +88,10 @@ def test_maven_present(auto_container):
assert auto_container.connection.run_expect([0], "mvn --version")


@pytest.mark.skipif(
OS_VERSION not in ("15.3", "15.4", "15.5", "15.6"),
reason="jshell is no longer the CMD as of SP7",
)
@pytest.mark.parametrize(
"container,java_version",
# Softfailure for bsc#1221983 only applies to OpenJDK-devel-21
Expand Down

0 comments on commit 8611d55

Please sign in to comment.