Skip to content

Commit fa44947

Browse files
committed
feat(tests): provide debug output on etcd/fleet timeout
1 parent 9653bfe commit fa44947

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/bin/test-integration.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,11 @@ log_phase "Waiting for etcd/fleet"
4646
WAIT_TIME=1
4747
until deisctl --request-timeout=1 list >/dev/null 2>&1; do
4848
(( WAIT_TIME += 1 ))
49-
if [ $WAIT_TIME -gt 300 ]; then
49+
if [ $WAIT_TIME -gt 300 ]; then
5050
log_phase "Timeout waiting for etcd/fleet"
51-
exit 1;
51+
# run deisctl one last time without eating the error, so we can see what's up
52+
deisctl --request-timeout=1 list
53+
exit 1;
5254
fi
5355
done
5456

0 commit comments

Comments
 (0)