Skip to content

Commit 3620922

Browse files
committed
[OPENJDK-2408] s2i: test mtimes preserved after artifact copy
Signed-off-by: Jonathan Dowland <[email protected]>
1 parent 3c8da9c commit 3620922

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

tests/features/java/java_s2i.feature

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,3 +331,9 @@ Feature: Openshift OpenJDK S2I tests
331331
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from OPENJDK-1549 with env
332332
| variable | value |
333333
| MAVEN_ARGS | validate |
334+
335+
Scenario: Ensure mtime is preserved for build artifacts (OPENJDK-2427)
336+
Given s2i build https://github.com/jboss-container-images/openjdk-test-applications from OPENJDK-2408-bin-custom-s2i-assemble with env
337+
| variable | value |
338+
| S2I_DELETE_SOURCE | false |
339+
Then run find /deployments/spring-boot-sample-simple-1.5.0.BUILD-SNAPSHOT.jar ! -newer /tmp/src/spring-boot-sample-simple-1.5.0.BUILD-SNAPSHOT.jar in container and check its output for spring-boot-sample-simple-1.5.0.BUILD-SNAPSHOT.jar

0 commit comments

Comments
 (0)