Skip to content

Commit ec538a0

Browse files
committed
Add second behave test
1 parent 4ddcde6 commit ec538a0

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

modules/jlink/tests/features/jlink.feature

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,12 @@ Scenario: Check that /tmp/jlink is deleted when S2I_DELETE_SOURCE is set
2525
| S2I_ENABLE_JLINK | true |
2626
| S2I_DELETE_SOURCE | true |
2727
Then s2i build log should contain Cleaning up temporary file directory /tmp/jlink
28-
And file /tmp/jlink should not exist
28+
And file /tmp/jlink should not exist
29+
30+
Scenario: Check that /tmp/jlink is not deleted when S2I_DELETE_SOURCE is set to false
31+
Given s2i build https://github.com/rh-openjdk/openjdk-container-test-applications from quarkus-quickstarts/getting-started-3.9.2-uberjar
32+
| variable | value |
33+
| S2I_ENABLE_JLINK | true |
34+
| S2I_DELETE_SOURCE | false |
35+
Then s2i build log should not contain Cleaning up temporary file directory /tmp/jlink
36+
And file /tmp/jlink should exist

0 commit comments

Comments
 (0)