Skip to content

Commit 7310417

Browse files
committed
Test coverage for user-provided run-env.sh
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent fdec14b commit 7310417

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/features/java/java_s2i.feature

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,3 +171,10 @@ Feature: Openshift OpenJDK S2I tests
171171
Given s2i build https://github.com/jboss-container-images/openjdk from tests/OPENJDK-1549 with env using ubi9
172172
| variable | value |
173173
| MAVEN_ARGS | validate |
174+
175+
Scenario: Ensure that run-env.sh placed in the JAVA_APP_DIR is sourced in the run script before launching java
176+
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i using main
177+
| variable | value |
178+
| S2I_SOURCE_DATA_DIR | ./ |
179+
| S2I_TARGET_DATA_DIR | /deployments |
180+
Then container log should contain INFO exec -a "someUniqueString" java

0 commit comments

Comments
 (0)