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
We dropped unzip from the images as nothing else was using it. Rework
the jolokia test that used unzip to use jar instead. Adjust the test
to not require s2i so it executes much faster and retitle it to be
clearer as to what it is testing.
Signed-off-by: Jonathan Dowland <[email protected]>
Copy file name to clipboardExpand all lines: modules/jolokia/8.2/tests/features/jolokia.feature
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@
3
3
# Tests for jboss/container/jolokia
4
4
Feature: Openshift OpenJDK Jolokia tests
5
5
6
-
Scenario:Check Environment variable is correct
7
-
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
8
-
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=
9
9
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
0 commit comments