Skip to content

Commit aba7811

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

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
@@ -328,3 +328,10 @@ Feature: Openshift OpenJDK S2I tests
328328
Given s2i build https://github.com/jmtd/openjdk from tests/OPENJDK-1548 with env using OPENJDK-1548-maven-args
329329
| variable | value |
330330
| MAVEN_ARGS | validate |
331+
332+
Scenario: Ensure that run-env.sh placed in the JAVA_APP_DIR is sourced in the run script before launching java
333+
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i using main
334+
| variable | value |
335+
| S2I_SOURCE_DATA_DIR | ./ |
336+
| S2I_TARGET_DATA_DIR | /deployments |
337+
Then container log should contain INFO exec -a "someUniqueString" java

0 commit comments

Comments
 (0)