Skip to content

Commit

Permalink
[OPENJDK-2993] re-tag jolokia Feature
Browse files Browse the repository at this point in the history
Ensure the first of the three Scenarios is covered by tags.

https://issues.redhat.com/browse/OPENJDK-2993

Signed-off-by: Jonathan Dowland <[email protected]>
  • Loading branch information
jmtd committed Apr 25, 2024
1 parent 1d7f91b commit 9baeab7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions modules/jolokia/8.2/tests/features/jolokia.feature
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
@ubi8/openjdk-8
@ubi8/openjdk-11
# Tests for jboss/container/jolokia
Feature: Openshift OpenJDK Jolokia tests

Scenario: Check Environment variable is correct
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
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=

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

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

0 comments on commit 9baeab7

Please sign in to comment.