mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-07 21:13:44 +02:00
Add debug traces to validation workflow
This commit is contained in:
parent
d152140d10
commit
708ea0afe8
1 changed files with 3 additions and 0 deletions
3
.github/workflows/validate-1m-linux.sh
vendored
3
.github/workflows/validate-1m-linux.sh
vendored
|
@ -119,6 +119,7 @@ time_zt_node2_start=`date +%s`
|
||||||
|
|
||||||
for ((s=0; s<=MAX_WAIT_SECS; s++))
|
for ((s=0; s<=MAX_WAIT_SECS; s++))
|
||||||
do
|
do
|
||||||
|
echo "Checking for online status: $s"
|
||||||
node1_online="$($ZT1 -j info | jq '.online' 2>/dev/null)"
|
node1_online="$($ZT1 -j info | jq '.online' 2>/dev/null)"
|
||||||
node2_online="$($ZT2 -j info | jq '.online' 2>/dev/null)"
|
node2_online="$($ZT2 -j info | jq '.online' 2>/dev/null)"
|
||||||
if [[ "$node1_online" == "true" ]]
|
if [[ "$node1_online" == "true" ]]
|
||||||
|
@ -140,6 +141,8 @@ done
|
||||||
if [[ "$both_instances_online" != "true" ]]
|
if [[ "$both_instances_online" != "true" ]]
|
||||||
then
|
then
|
||||||
echo "One or more instances of ZeroTier failed to come online. Aborting test." >&2
|
echo "One or more instances of ZeroTier failed to come online. Aborting test." >&2
|
||||||
|
$ZT1 -j info
|
||||||
|
$ZT2 -j info
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue