You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/jolokia/8.2/tests/features/jolokia.feature
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,21 +1,19 @@
1
+
@ubi8/openjdk-8
2
+
@ubi8/openjdk-11
1
3
# Tests for jboss/container/jolokia
2
4
Feature: Openshift OpenJDK Jolokia tests
3
5
4
-
Scenario:Check Environment variable is correct
5
-
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
6
-
Then run sh -c 'unzip -q -p /usr/share/java/jolokia-jvm-agent/jolokia-jvm.jar META-INF/maven/org.jolokia/jolokia-jvm/pom.properties | grep -F ${JOLOKIA_VERSION}' in container and check its output for version=
6
+
Scenario:Ensure JOLOKIA_VERSION variable aligns with JAR
7
+
When container is started with command sh
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=
7
9
8
-
@ubi8/openjdk-8
9
-
@ubi8/openjdk-11
10
10
Scenario: Check jolokia port is available
11
11
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications 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
-
@ubi8/openjdk-8
18
-
@ubi8/openjdk-11
19
17
Scenario: Ensure Jolokia diagnostic options work correctly
20
18
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
0 commit comments