Skip to content

Commit e4b427f

Browse files
authored
Merge pull request #486 from jmtd/retag-jolokia-tests
[OPENJDK-2993] re-tag jolokia Feature
2 parents 1d7f91b + cea1714 commit e4b427f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

modules/jolokia/8.2/tests/features/jolokia.feature

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
1+
@ubi8/openjdk-8
2+
@ubi8/openjdk-11
13
# Tests for jboss/container/jolokia
24
Feature: Openshift OpenJDK Jolokia tests
35

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=
79

8-
@ubi8/openjdk-8
9-
@ubi8/openjdk-11
1010
Scenario: Check jolokia port is available
1111
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
1212
Then check that port 8778 is open
1313
And inspect container
1414
| path | value |
1515
| /Config/ExposedPorts | 8778/tcp |
1616

17-
@ubi8/openjdk-8
18-
@ubi8/openjdk-11
1917
Scenario: Ensure Jolokia diagnostic options work correctly
2018
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
2119
| variable | value |

0 commit comments

Comments
 (0)