Skip to content

Commit d5d69de

Browse files
committed
refactor(service,ci): address PR #262 review comments and fix CI IPv6 test
1 parent ab873d2 commit d5d69de

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
./librespeed-cli --local-json config_librespeed.json --server 2 --json --share --telemetry-level disabled | python3 -m json.tool
130130
131131
ping 10.66.0.2 -w 20 -c 10
132-
IPV6=$(./awl cli peers status -f p | grep awl-tester | grep -o 'fd00:[0-9a-f:]*' || true)
132+
IPV6=$(./awl cli peers status -f p | grep -A 3 awl-tester | grep -o 'fd00:[0-9a-f:]*' || true)
133133
if [ -n "$IPV6" ]; then
134134
echo "IPv6 detected: $IPV6. Running ping6..."
135135
ping6 awl-tester.awl -w 20 -c 10
@@ -236,13 +236,7 @@ jobs:
236236
./librespeed-cli --local-json config_librespeed.json --server 2 --json --share --telemetry-level disabled | python3 -m json.tool
237237
238238
ping 10.66.0.2 -c 10
239-
IPV6=$(./awl cli peers status -f p | grep awl-tester | grep -o 'fd00:[0-9a-f:]*' || true)
240-
if [ -n "$IPV6" ]; then
241-
echo "IPv6 detected: $IPV6. Running ping6..."
242-
ping6 awl-tester.awl -c 10
243-
else
244-
echo "awl-tester does not have IPv6 enabled yet, skipping IPv6 ping test."
245-
fi
239+
echo "IPv6 VPN gateway is currently supported on Linux only, skipping IPv6 ping test on macOS."
246240
247241
sleep 1
248242
sudo kill -SIGINT $awl_pid
@@ -262,13 +256,7 @@ jobs:
262256
./librespeed-cli.exe --local-json config_librespeed.json --server 2 --json --share --telemetry-level disabled | python3 -m json.tool
263257
264258
ping -w 20000 -n 10 10.66.0.2
265-
IPV6=$(./awl.exe cli peers status -f p | grep awl-tester | grep -o 'fd00:[0-9a-f:]*' || true)
266-
if [ -n "$IPV6" ]; then
267-
echo "IPv6 detected: $IPV6. Running ping6..."
268-
ping -6 -w 20000 -n 10 awl-tester.awl
269-
else
270-
echo "awl-tester does not have IPv6 enabled yet, skipping IPv6 ping test."
271-
fi
259+
echo "IPv6 VPN gateway is currently supported on Linux only, skipping IPv6 ping test on Windows."
272260
273261
# ---- VPN gateway server (exit-node) mode: runtime enable/disable round-trips OS state ----
274262
# Diagnostic first: what the runner already holds in WinNAT (a

0 commit comments

Comments
 (0)