Skip to content

Commit 66f164a

Browse files
committed
Behave test for jlink integration code
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent 5f28ed9 commit 66f164a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
@ubi9/openjdk-11
2+
@ubi9/openjdk-17
3+
@ubi9/openjdk-21
4+
Feature: Openshift OpenJDK S2I tests (jlink specific)
5+
Scenario: Ensure jlinked builder is used to build the containerized application image
6+
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
7+
| variable | value |
8+
| S2I_ENABLE_JLINK | true |
9+
| QUARKUS_PACKAGE_TYPE| uber-jar |
10+
Then run ls /tmp/jre in container and check its output for bin
11+
12+
Scenario: Ensure S2I_ENABLE_JLINK=false is the default
13+
Given container is started with env
14+
| variable | value |
15+
| QUARKUS_PACKAGE_TYPE| uber-jar |
16+
Then container log should not contain S2I_ENABLE_JLINK=true

0 commit comments

Comments
 (0)