File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
test/plugins/runner-helper/templates Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,15 @@ export WINDOWS_HOST=`cat /etc/resolv.conf | grep nameserver | cut -d ' ' -f 2`
2323sed -i " s/service:8080/$WINDOWS_HOST :8080/g" ./config/excepted.yml
2424sed -i " s/HTTP_HOST=127\.0\.0\.1/HTTP_HOST=$WINDOWS_HOST /g" validator.sh
2525
26+ # Diagnostics for host resolution/connectivity
27+ echo " [wsl] WINDOWS_HOST=$WINDOWS_HOST "
28+ echo " [wsl] resolv.conf:" && cat /etc/resolv.conf || true
29+ echo " [wsl] getent hosts for WINDOWS_HOST:" && getent hosts " $WINDOWS_HOST " || true
30+ echo " [wsl] getent hosts for host.docker.internal:" && getent hosts host.docker.internal || true
31+
32+ # Enable verbose validator healthcheck diagnostics
33+ sed -i ' 1i export DEBUG_HEALTHCHECK=1' validator.sh
34+
2635compose_version=$( docker-compose version --short)
2736
2837if [[ $compose_version =~ ^(v)? 1 ]]; then
You can’t perform that action at this time.
0 commit comments