Skip to content

Commit 2b8031d

Browse files
committed
[OPENJDK-2968] test for custom run.sh behaviour
https://issues.redhat.com/browse/OPENJDK-2968 Signed-off-by: Jonathan Dowland <[email protected]>
1 parent aa2cca3 commit 2b8031d

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
@ubi8/openjdk-8
2+
@ubi8/openjdk-11
3+
@ubi8/openjdk-17
4+
@ubi8/openjdk-21
5+
Feature: S2I run script tests
6+
7+
Scenario: OPENJDK-2968 application run script is invoked instead of image run script
8+
Given s2i build https://github.com/jmtd/openjdk-test-applications from OPENJDK-2968-bin-custom-run with env using OPENJDK-2968-custom-run
9+
| variable | value |
10+
| JAVA_OPTIONS | deprecated |
11+
| JAVA_ARGS | percolated |
12+
Then container log should not contain Starting the Java application using /opt/jboss/container/java/run/run-java.sh
13+
And container log should contain hello world
14+
And container log should contain JAVA_OPTS=deprecated
15+
And container log should contain args=percolated

0 commit comments

Comments
 (0)