Skip to content

Commit 609d67e

Browse files
committed
[OPENJDK-2034] two additional tests
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent a7a893f commit 609d67e

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
@@ -52,4 +52,18 @@ Feature: Openshift OpenJDK Runtime tests
5252
Given container is started with env
5353
| variable | value |
5454
| JAVA_APP_DIR | /home/default |
55-
Then available container log should contain INFO running in /home/default
55+
Then available container log should contain INFO running in /home/default
56+
57+
@ubi9
58+
Scenario: Check relative path JAVA_APP_DIR (OPENJDK-2033)
59+
Given container is started with env
60+
| variable | value |
61+
| JAVA_APP_DIR | . |
62+
Then available container log should contain INFO running in /home/default
63+
64+
@ubi9
65+
Scenario: Check non-existent path JAVA_APP_DIR (OPENJDK-2033)
66+
Given container is started with env
67+
| variable | value |
68+
| JAVA_APP_DIR | /nope |
69+
Then available container log should contain ERROR No directory /nope found for auto detection

0 commit comments

Comments
 (0)