mirror of
https://github.com/angristan/openvpn-install.git
synced 2026-08-11 09:08:13 +02:00
Stabilize firewall and DNS tests
This commit is contained in:
@@ -77,7 +77,7 @@ RUN chmod +x /entrypoint.sh /opt/test/validate-output.sh /opt/test/local-network
|
|||||||
RUN printf '%s\n' \
|
RUN printf '%s\n' \
|
||||||
'[Unit]' \
|
'[Unit]' \
|
||||||
'Description=OpenVPN Installation Test' \
|
'Description=OpenVPN Installation Test' \
|
||||||
'After=network.target' \
|
'After=network.target firewalld.service nftables.service' \
|
||||||
'' \
|
'' \
|
||||||
'[Service]' \
|
'[Service]' \
|
||||||
'Type=oneshot' \
|
'Type=oneshot' \
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ wait_for_revoked_reconnect_rejected() {
|
|||||||
|
|
||||||
test_dns_resolution() {
|
test_dns_resolution() {
|
||||||
local label="$1"
|
local label="$1"
|
||||||
local test_name="github.com"
|
local test_name="neverssl.com"
|
||||||
local success=false
|
local success=false
|
||||||
# This verifies recursive DNS connectivity. Use an unsigned zone so the test
|
# This verifies recursive DNS connectivity. Use an unsigned zone so the test
|
||||||
# does not depend on DNSSEC key retrieval over GitHub runner networks.
|
# does not depend on DNSSEC key retrieval over GitHub runner networks.
|
||||||
|
|||||||
Reference in New Issue
Block a user