Add debug traces to validation workflow

This commit is contained in:
Joseph Henry 2023-05-01 13:50:35 -07:00
parent d152140d10
commit 708ea0afe8
No known key found for this signature in database
GPG key ID: C45B33FF5EBC9344

View file

@ -119,6 +119,7 @@ time_zt_node2_start=`date +%s`
for ((s=0; s<=MAX_WAIT_SECS; s++))
do
echo "Checking for online status: $s"
node1_online="$($ZT1 -j info | jq '.online' 2>/dev/null)"
node2_online="$($ZT2 -j info | jq '.online' 2>/dev/null)"
if [[ "$node1_online" == "true" ]]
@ -140,6 +141,8 @@ done
if [[ "$both_instances_online" != "true" ]]
then
echo "One or more instances of ZeroTier failed to come online. Aborting test." >&2
$ZT1 -j info
$ZT2 -j info
exit 1
fi