Skip to content

Commit de61bdb

Browse files
authored
Merge pull request #553 from Josh-Matsuoka/3647
[OPENJDK-3647] check /tmp/jre/bin/java and /tmp/jre/lib/modules exist post-s2i build if JLINK is enabled
2 parents 1281267 + 6a8f07b commit de61bdb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

modules/jlink/tests/features/jlink.feature

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,10 @@ Scenario: Ensure S2I_ENABLE_JLINK is not set to true
1212
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
1313
Then container log should not contain S2I_ENABLE_JLINK=true
1414
And run bash -c "test ! -d /tmp/jre && echo PASS" in container and immediately check its output for PASS
15+
16+
Scenario: Check that /tmp/jre/bin/java and /tmp/jre/lib/modules exist post s2i build if jlink is enabled.
17+
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.9.2-uberjar
18+
| variable | value |
19+
| S2I_ENABLE_JLINK | true |
20+
Then container log should contain S2I_ENABLE_JLINK=true
21+
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

0 commit comments

Comments
 (0)