Skip to content

Commit f1feb34

Browse files
committed
Correct the 'Given' section in tests to match s2i build scenarios
Signed-off-by: Jayashree Huttanagoudar <[email protected]>
1 parent e6f2d81 commit f1feb34

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/features/java/java_s2i.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ Feature: Openshift OpenJDK S2I tests
134134
# CLOUD-3095 - context dir should be recursively copied into the image
135135
# "/target" suffix is important here; it triggers a different code-path (no source build)
136136
Scenario: Ensure binary-only mode copies binaries into the target image
137-
Given s2i build https://github.com/jhuttana/openjdk-test-applications/tree/pick_relevant_sources from spring-boot-sample-simple/target
137+
Given s2i build https://github.com/jhuttana/openjdk-test-applications from spring-boot-sample-simple/target using pick_relevant_sources
138138
Then s2i build log should not contain skipping directory .
139139
And run find /deployments in container and check its output for spring-boot-sample-simple-1.5.0.BUILD-SNAPSHOT.jar
140140

@@ -168,6 +168,6 @@ Feature: Openshift OpenJDK S2I tests
168168
Then XML file /tmp/artifacts/configuration/settings.xml should have 1 elements on XPath //ns:profile[ns:id='myrepo-profile']/ns:repositories/ns:repository[ns:url='http://repo.example.com:8080/maven2/']
169169

170170
Scenario: Ensure the environment is cleaned when executing mvn (OPENJDK-1549)
171-
Given s2i build https://github.com/jhuttana/openjdk-test-applications from tests/OPENJDK-1549 with env using pick_relevant_sources
171+
Given s2i build https://github.com/jhuttana/openjdk-test-applications from OPENJDK-1549 with env using pick_relevant_sources
172172
| variable | value |
173173
| MAVEN_ARGS | validate |

tests/features/java/openjdk_s2i.feature

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Feature: Openshift OpenJDK-only S2I tests
88
And run stat --printf="%U %G" /tmp/hsperfdata_default/ in container and check its output for default root
99

1010
Scenario: Ensure Quarkus CDS doesn't fail due to timestamp mismatch (OPENDJK-1673)
11-
Given s2i build https://github.com/jhuttana/openjdk-test-applications/tree/pick_relevant_sources from getting-started
11+
Given s2i build https://github.com/jhuttana/openjdk-test-applications from getting-started using pick_relevant_sources
1212
Then container log should not contain A jar file is not the one used while building the shared archive file
1313

1414
Scenario: quarkus fast-jar layout works out-of-the-box (OPENJDK-631)

0 commit comments

Comments
 (0)