Skip to content

Commit 22152cc

Browse files
committed
cli integration: fix wait race
The wait at the end of cli integration script could end up failing if the process had already exited. This was making it look like the tests have failed. This change fixes the problem. Docker-DCO-1.1-Signed-off-by: Cristian Staretu <[email protected]> (github: unclejack)
1 parent 62b08f5 commit 22152cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/make/test-integration-cli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ bundle_test_integration_cli 2>&1 \
3131

3232
DOCKERD_PID=$(cat $DEST/docker.pid)
3333
kill $DOCKERD_PID
34-
wait $DOCKERD_PID
34+
wait $DOCKERD_PID || true
3535
)

0 commit comments

Comments
 (0)