Skip to content

Commit 223e5ef

Browse files
committed
[OPENJDK-2034] two additional tests
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 683e987 commit 223e5ef

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

tests/features/java/runtime.feature

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,18 @@ Feature: Openshift OpenJDK Runtime tests
7878
Given container is started with env
7979
| variable | value |
8080
| JAVA_APP_DIR | /home/jboss |
81-
Then available container log should contain INFO running in /home/jboss
81+
Then available container log should contain INFO running in /home/jboss
82+
83+
@ubi8
84+
Scenario: Check relative path JAVA_APP_DIR (OPENJDK-2033)
85+
Given container is started with env
86+
| variable | value |
87+
| JAVA_APP_DIR | . |
88+
Then available container log should contain INFO running in /home/jboss
89+
90+
@ubi8
91+
Scenario: Check non-existent path JAVA_APP_DIR (OPENJDK-2033)
92+
Given container is started with env
93+
| variable | value |
94+
| JAVA_APP_DIR | /nope |
95+
Then available container log should contain ERROR No directory /nope found for auto detection

0 commit comments

Comments
 (0)