Skip to content

Commit f470db7

Browse files
committed
WithContainerStepTest.death needed to be updated to pass against a newer durable-task using an external control directory.
1 parent 2f719f6 commit f470db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/jenkinsci/plugins/docker/workflow/WithContainerStepTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public class WithContainerStepTest {
118118
p.setDefinition(new CpsFlowDefinition(
119119
"node {\n" +
120120
" withDockerContainer('httpd:2.4.12') {\n" +
121-
" sh 'sleep 5; kill -9 `cat .*/pid`'\n" +
121+
" sh \"sleep 5; kill -9 `cat ${pwd tmp: true}/*/pid`\"\n" +
122122
" }\n" +
123123
"}", true));
124124
WorkflowRun b = story.j.assertBuildStatus(Result.FAILURE, p.scheduleBuild2(0).get());

0 commit comments

Comments
 (0)