Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions modules/jlink/tests/features/jlink.feature
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,10 @@ Scenario: Ensure S2I_ENABLE_JLINK is not set to true
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
Then container log should not contain S2I_ENABLE_JLINK=true
And run bash -c "test ! -d /tmp/jre && echo PASS" in container and immediately check its output for PASS

Scenario: Check that /tmp/jre/bin/java and /tmp/jre/lib/modules exist post s2i build if jlink is enabled.
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.9.2-uberjar
| variable | value |
| S2I_ENABLE_JLINK | true |
Then container log should contain S2I_ENABLE_JLINK=true
and run bash -c "test -d /tmp/jre/bin/java && test -d /tmp/jre/lib/modules && echo PASS" in container and immediately check its output for PASS