File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ labels:
14
14
15
15
envs :
16
16
- name : " JAVA_HOME"
17
- value : " /usr/lib/jvm/java-11 "
17
+ value : " /usr/lib/jvm/jre "
18
18
- name : " JAVA_VENDOR"
19
19
value : " openjdk"
20
20
- name : " JAVA_VERSION"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ labels:
14
14
15
15
envs :
16
16
- name : " JAVA_HOME"
17
- value : " /usr/lib/jvm/java-1.8.0 "
17
+ value : " /usr/lib/jvm/jre "
18
18
- name : " JAVA_VENDOR"
19
19
value : " openjdk"
20
20
- name : " JAVA_VERSION"
Original file line number Diff line number Diff line change 1
1
# TODO: it would be nice to make the below less specific to 8 & 11. What about when 12
2
2
# is released, etc.
3
- Feature : Container only has one OpenJDK version installed
3
+ Feature : Miscellaneous OpenJDK-related unit tests
4
4
5
5
@redhat-openjdk-18/openjdk18-openshift
6
6
@openjdk/openjdk-1.8-ubi8
@@ -23,3 +23,12 @@ Feature: Container only has one OpenJDK version installed
23
23
| arg | value |
24
24
| command | rpm -qa |
25
25
Then available container log should not contain java-1.8.0
26
+
27
+ @ubi8
28
+ @openjdk
29
+ @openj9
30
+ Scenario : Ensure JAVA_HOME is defined and contains Java
31
+ When container is started with args
32
+ | arg | value |
33
+ | command | bash -c "$JAVA_HOME /bin /java -version " |
34
+ Then available container log should contain OpenJDK Runtime Environment
You can’t perform that action at this time.
0 commit comments