Skip to content

Commit

Permalink
Address review comment to replace old URI with new one
Browse files Browse the repository at this point in the history
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
  • Loading branch information
jhuttana committed Nov 23, 2023
1 parent 07aeb43 commit 779d6fd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/features/java/java_s2i.feature
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Feature: Openshift OpenJDK S2I tests
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from spring-boot-sample-simple

Scenario: run an S2I that should fail as MAVEN_ARGS does not define com.redhat.xpaas.repo.redhatga
Given failing s2i build https://github.com/jboss-openshift/openshift-examples from spring-boot-sample-simple using openjdk-enforce-profile
Given failing s2i build https://github.com/jboss-container-images/openjdk-test-applications from spring-boot-sample-simple using openjdk-enforce-profile
| variable | value |
| MAVEN_ARGS | -e package |

Expand Down
6 changes: 3 additions & 3 deletions tests/features/jolokia.feature
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
Feature: Openshift OpenJDK Jolokia tests

Scenario: Check Environment variable is correct
Given s2i build https://github.com/jboss-openshift/openshift-quickstarts from undertow-servlet
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-openshift/openshift-quickstarts from undertow-servlet
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 |
Expand All @@ -17,7 +17,7 @@ Feature: Openshift OpenJDK Jolokia tests
@ubi8/openjdk-8
@ubi8/openjdk-11
Scenario: Ensure Jolokia diagnostic options work correctly
Given s2i build https://github.com/jboss-openshift/openshift-quickstarts from undertow-servlet
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from undertow-servlet
| variable | value |
| JAVA_ARGS | Hello from CTF test |
| JAVA_DIAGNOSTICS | true |
Expand Down

0 comments on commit 779d6fd

Please sign in to comment.