Skip to content

Commit

Permalink
add sleep to failing-dc fixture so docker have time to gather logs fr…
Browse files Browse the repository at this point in the history
…om hook container
  • Loading branch information
mfojtik committed Dec 14, 2017
1 parent 61e6f25 commit 6ace95d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test/testdata/failing-dc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ace95d

Please sign in to comment.