Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 3950dc5

Browse files
committed
Improve test schenario logging
1 parent ec72a25 commit 3950dc5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/script_scenario_node_dies

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ docker run -d -t --name=grid_mock -e MOCK_SERVER_PORT \
155155
-e CI \
156156
elgalu/google_adwords_mock
157157

158+
docker exec mynodes wait_all_done 20s || (docker logs mynodes && docker exec mynodes errors)
158159
docker exec mynodes wait_all_done 70s
159160
docker exec mynodes errors || true
160161
docker logs mynodes

xterm/bin/start-xterm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ if supervisorctl -c /etc/supervisor/supervisord.conf status 2>&1 \
101101
supervisorctl -c /etc/supervisor/supervisord.conf status 1>&2
102102
shutdown
103103
else
104-
echo "No failed processes reported by supervisorctl status. Looking good."
104+
log "Processes reported by supervisorctl status looking good."
105105
fi
106106

107107
if [ "${XTERM_START}" == "true" ]; then

0 commit comments

Comments
 (0)