|
1 |
| -@ubi9/openjdk-17 |
2 | 1 | @openjdk-tech-preview/openjdk-21-jlink-rhel9
|
3 | 2 | Feature: Openshift OpenJDK S2I tests (jlink specific)
|
4 | 3 |
|
5 | 4 | Scenario: tech preview warning is printed (OPENJDK-3038)
|
6 |
| - Given failing s2i build https://github.com/jboss-container-images/openjdk-test-applications from spring-boot-sample-simple/target using master |
| 5 | + Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications from spring-boot-sample-simple/target using master |
7 | 6 | | variable | value |
|
8 | 7 | | S2I_ENABLE_JLINK | true |
|
9 | 8 | Then s2i build log should contain Jlink integration is a Tech Preview feature
|
10 | 9 |
|
11 | 10 | Scenario: Ensure S2I_ENABLE_JLINK is not set to true
|
12 |
| - Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i |
13 |
| - Then container log should not contain S2I_ENABLE_JLINK=true |
14 |
| - And run bash -c "test ! -d /tmp/jre && echo PASS" in container and immediately check its output for PASS |
| 11 | + Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications from spring-boot-sample-simple/target using master |
| 12 | + Then s2i build log should not contain Jlink integration is a Tech Preview feature |
| 13 | + And file /tmp/jre should not exist |
15 | 14 |
|
16 | 15 | 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 |
| 16 | + Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications from quarkus-quickstarts/getting-started-3.9.2-uberjar |
18 | 17 | | variable | value |
|
19 | 18 | | 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 |
| 19 | + Then file /tmp/jre/bin/java should exist and be a file |
| 20 | + And file /tmp/jre/lib/modules should exist and be a file |
0 commit comments