Skip to content

Commit 9e0e1c9

Browse files
committed
Add a test for JAVA_OPTS overriding JAVA_OPTS_APPEND
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent ed65182 commit 9e0e1c9

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/features/java/runtime.feature

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,13 @@ Feature: Openshift OpenJDK Runtime tests
2525
| variable | value |
2626
| JAVA_OPTS | |
2727
Then container log should not contain -XX:MaxRAMPercentage
28+
29+
@ubi9
30+
Scenario: Check JAVA_OPTS overrides JAVA_OPTS_APPEND
31+
piv
32+
Given container is started with env
33+
| variable | value |
34+
| JAVA_OPTS | -verbose:gc |
35+
| JAVA_OPTS_APPEND | -Xint |
36+
Then container log should contain -verbose:gc
37+
And container log should not contain -Xint

0 commit comments

Comments
 (0)