File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -43,27 +43,35 @@ Feature: Openshift OpenJDK Runtime tests
43
43
Then container log should not contain exec: bar': not found
44
44
45
45
@ubi9
46
- Scenario : Check default JAVA_APP_DIR (OPENJDK-2033 )
46
+ Scenario : Check default JAVA_APP_DIR (OPENJDK-2034 )
47
47
When container is ready
48
48
Then available container log should contain INFO running in /deployments
49
49
50
50
@ubi9
51
- Scenario : Check custom JAVA_APP_DIR (OPENJDK-2033 )
51
+ Scenario : Check custom JAVA_APP_DIR (OPENJDK-2034 )
52
52
Given container is started with env
53
53
| variable | value |
54
54
| JAVA_APP_DIR | /home /default |
55
55
Then available container log should contain INFO running in /home/default
56
56
57
57
@ubi9
58
- Scenario : Check relative path JAVA_APP_DIR (OPENJDK-2033 )
58
+ Scenario : Check relative path JAVA_APP_DIR (OPENJDK-2034 )
59
59
Given container is started with env
60
60
| variable | value |
61
61
| JAVA_APP_DIR | . |
62
62
Then available container log should contain INFO running in /home/default
63
63
64
64
@ubi9
65
- Scenario : Check non-existent path JAVA_APP_DIR (OPENJDK-2033 )
65
+ Scenario : Check non-existent path JAVA_APP_DIR (OPENJDK-2034 )
66
66
Given container is started with env
67
67
| variable | value |
68
68
| JAVA_APP_DIR | /nope |
69
69
Then available container log should contain ERROR No directory /nope found for auto detection
70
+
71
+ # Builder images only
72
+ Scenario : Ensure JAVA_APP_DIR and S2I work together (OPENJDK-2034)
73
+ Given s2i build https://github.com/jboss-openshift/openshift-quickstarts from undertow-servlet
74
+ | variable | value |
75
+ | JAVA_APP_DIR | /home /default |
76
+ | S2I_TARGET_DEPLOYMENTS_DIR | /home /default |
77
+ Then container log should contain /home/default/undertow-servlet.jar
You can’t perform that action at this time.
0 commit comments