Skip to content

Commit 6a5b5f0

Browse files
committed
Ensure custom s2i script is run in test
This test is designed to run a custom s2i/assemble script provided by the application source. That script prints the string "appsrc-provided s2i assemble script executed" during execution. Expand the test to check for this string to ensure the script has been executed. Signed-off-by: Jonathan Dowland <[email protected]>
1 parent d1fab0e commit 6a5b5f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/s2i/core/tests/features/s2i-core.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ Feature: Openshift S2I tests
1616
| variable | value |
1717
| S2I_TARGET_DEPLOYMENTS_DIR | /var/tmp |
1818
Then s2i build log should not contain rsync: [generator] failed to set permissions on "/var/tmp/.": Operation not permitted
19+
And s2i build log should contain appsrc-provided s2i assemble script executed
1920
And run stat /var/tmp/spring-boot-sample-simple-1.5.0.BUILD-SNAPSHOT.jar in container and check its output for Access:

0 commit comments

Comments
 (0)