Skip to content

Commit 0024552

Browse files
committed
don't suppress docker's standard error
While docker is quite noisy, suppressing stderr makes it difficult to troubleshoot problems.
1 parent 52e4377 commit 0024552

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/build_test_env.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ CONFIG=/tmp/python-gitlab.cfg
5656
cleanup() {
5757
rm -f "${CONFIG}"
5858
log "Stopping gitlab-test docker container..."
59-
docker stop gitlab-test >/dev/null 2>&1 &
59+
docker stop gitlab-test >/dev/null &
6060
docker_stop_pid=$!
6161
log "Waiting for gitlab-test docker container to exit..."
62-
docker wait gitlab-test >/dev/null 2>&1
62+
docker wait gitlab-test >/dev/null
6363
wait "${docker_stop_pid}"
6464
log "Removing gitlab-test docker container..."
65-
docker rm gitlab-test >/dev/null 2>&1
65+
docker rm gitlab-test >/dev/null
6666
log "Deactivating Python virtualenv..."
6767
command -v deactivate >/dev/null 2>&1 && deactivate || true
6868
log "Deleting python virtualenv..."
@@ -75,7 +75,7 @@ cleanup() {
7575
}
7676

7777
try docker run --name gitlab-test --detach --publish 8080:80 \
78-
--publish 2222:22 gpocentek/test-python-gitlab:latest >/dev/null 2>&1
78+
--publish 2222:22 gpocentek/test-python-gitlab:latest >/dev/null
7979

8080
LOGIN='root'
8181
PASSWORD='5iveL!fe'

0 commit comments

Comments
 (0)