File tree Expand file tree Collapse file tree 10 files changed +46
-46
lines changed
jolokia/8.2/tests/features
s2i/core/api/tests/features Expand file tree Collapse file tree 10 files changed +46
-46
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ Feature: Openshift OpenJDK Jolokia tests
8
8
Then run sh -c 'jar xf /usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar META-INF/maven/org.jolokia/jolokia-jvm/pom.properties && grep ${JOLOKIA_VERSION} META-INF/maven/org.jolokia/jolokia-jvm/pom.properties' in container and check its output for version=
9
9
10
10
Scenario : Check jolokia port is available
11
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
11
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
12
12
Then check that port 8778 is open
13
13
And inspect container
14
14
| path | value |
15
15
| /Config /ExposedPorts | 8778 /tcp |
16
16
17
17
Scenario : Ensure Jolokia diagnostic options work correctly
18
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
18
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
19
19
| variable | value |
20
20
| JAVA_ARGS | Hello from CTF test |
21
21
| JAVA_DIAGNOSTICS | true |
Original file line number Diff line number Diff line change @@ -62,5 +62,5 @@ Feature: OPENJDK-559 JVM Memory tests
62
62
@ubi8/openjdk-17
63
63
@ubi8/openjdk-21
64
64
Scenario : Ensure Maven doesn't use MaxRAMPercentage=80
65
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from spring-boot-sample-simple
65
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from spring-boot-sample-simple
66
66
Then s2i build log should match regex INFO Using MAVEN_OPTS.*-XX:MaxRAMPercentage=25.0$
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ Feature: Openshift OpenJDK S2I tests
6
6
7
7
# test incremental builds
8
8
Scenario : Check incremental builds cache .m2
9
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
9
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
10
10
| variable | value |
11
11
| JAVA_ARGS | Hello from CTF test |
12
12
Then container log should contain /deployments/undertow-servlet.jar Hello from CTF test
13
13
And s2i build log should contain Downloading from central:
14
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet with env and incremental
14
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet with env and incremental
15
15
| variable | value |
16
16
| JAVA_ARGS | Hello from CTF test |
17
17
Then container log should contain /deployments/undertow-servlet.jar Hello from CTF test
Original file line number Diff line number Diff line change 3
3
@ubi8/openjdk-21
4
4
Feature : Openshift OpenJDK S2I tests (Quarkus-based )
5
5
Scenario : Ensure that run-env.sh placed in the JAVA_APP_DIR is sourced in the run script before launching java
6
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
6
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
7
7
| variable | value |
8
8
| S2I_SOURCE_DATA_DIR | ./ |
9
9
| S2I_TARGET_DATA_DIR | /deployments |
Original file line number Diff line number Diff line change @@ -36,17 +36,17 @@ Feature: Openshift OpenJDK Runtime tests
36
36
| JAVA_APP_DIR | /nope |
37
37
Then available container log should contain ERROR No directory /nope found for auto detection
38
38
Scenario : Ensure JVM_ARGS is no longer present in the run script
39
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
39
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
40
40
Then file /usr/local/s2i/run should not contain JVM_ARGS
41
41
42
42
Scenario : Ensure JAVA_ARGS are passed through to the running java application
43
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
43
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
44
44
| variable | value |
45
45
| JAVA_ARGS | Hello from CTF test |
46
46
Then container log should contain /deployments/undertow-servlet.jar Hello from CTF test
47
47
48
48
Scenario : Ensure diagnostic options work correctly
49
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
49
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
50
50
| variable | value |
51
51
| JAVA_ARGS | Hello from CTF test |
52
52
| JAVA_DIAGNOSTICS | true |
Original file line number Diff line number Diff line change 4
4
@ubi8/openjdk-21
5
5
Feature : Openshift S2I tests
6
6
Scenario : Check networkaddress.cache.negative.ttl has been set correctly
7
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from binary-cli-security-property
7
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from binary-cli-security-property
8
8
Then s2i build log should contain networkaddress.cache.negative.ttl=0
Original file line number Diff line number Diff line change 5
5
Feature : Openshift OpenJDK S2I tests (Quarkus-based )
6
6
7
7
Scenario : Ensure Quarkus CDS doesn't fail due to timestamp mismatch (OPENDJK-1673)
8
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from getting-started
8
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from getting-started
9
9
Then container log should not contain A jar file is not the one used while building the shared archive file
10
10
11
11
Scenario : quarkus fast-jar layout works out-of-the-box (OPENJDK-1957)
12
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
12
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i
13
13
Then container log should contain INFO quarkus fast-jar package type detected
14
14
And container log should contain -jar /deployments/quarkus-app/quarkus-run.jar
15
15
And container log should contain (main) getting-started 1.0.0-SNAPSHOT on JVM (powered by Quarkus
@@ -18,7 +18,7 @@ Feature: Openshift OpenJDK S2I tests (Quarkus-based)
18
18
And container log should not contain no main manifest attribute
19
19
20
20
Scenario : quarkus uber-jar layout works out-of-the-box (OPENJDK-1957)
21
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i with env
21
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from quarkus-quickstarts/getting-started-3.0.1.Final-nos2i with env
22
22
| variable | value |
23
23
| QUARKUS_PACKAGE_TYPE | uber -jar |
24
24
Then container log should not contain INFO quarkus fast-jar package type detected
Original file line number Diff line number Diff line change 5
5
Feature : Openshift S2I tests
6
6
# OPENJDK-84 - /tmp/src should not be present after build
7
7
Scenario : run an s2i build and check that /tmp/src has been removed afterwards
8
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from spring-boot-sample-simple
8
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from spring-boot-sample-simple
9
9
Then run stat /tmp/src in container and immediately check its output does not contain File:
10
10
11
11
# OPENJDK-2824 - ensure binary-only s2i doesn't try to change timestamps of
12
12
# S2I_TARGET_DEPLOYMENTS_DIR. Use /var/tmp as a directory where attempting to
13
13
# will fail. This simulates the s2i process running as a random UID, which can't
14
14
# change timestamps on the default directory, /deployments.
15
15
Scenario : Ensure binary-only build doesn't fail trying to set timestamp of S2I_TARGET_DEPLOYMENTS_DIR (OPENJDK-2850)
16
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from OPENJDK-2408-bin-custom-s2i-assemble with env
16
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from OPENJDK-2408-bin-custom-s2i-assemble with env
17
17
| variable | value |
18
18
| S2I_TARGET_DEPLOYMENTS_DIR | /var /tmp |
19
19
Then s2i build log should not contain rsync: [generator] failed to set permissions on "/var/tmp/." : Operation not permitted
Original file line number Diff line number Diff line change 4
4
@ubi8/openjdk-21
5
5
Feature : Openshift OpenJDK port tests
6
6
Scenario : Check ports are available
7
- Given s2i build https://github.com/jboss-container-images /openjdk-test-applications from undertow-servlet
7
+ Given s2i build https://github.com/rh-openjdk /openjdk-container- test-applications.git from undertow-servlet
8
8
Then check that port 8080 is open
9
9
Then check that port 8443 is open
10
10
Then inspect container
You can’t perform that action at this time.
0 commit comments