diff --git a/test/testdata/failing-dc.yaml b/test/testdata/failing-dc.yaml index 84923e0d369d..a5b34cdad205 100644 --- a/test/testdata/failing-dc.yaml +++ b/test/testdata/failing-dc.yaml @@ -22,8 +22,14 @@ spec: execNewPod: containerName: myapp command: - - /bin/echo - - test pre hook executed + - /bin/sh + - -c + - | + echo test pre hook executed + # FIXME: The sleep here is needed so the Docker have time to acquire the + # logs from this hook. This is a bug and this sleep should be removed + # when the Docker bug is fixed. + sleep 1 template: metadata: creationTimestamp: null