mirror of
https://github.com/systemd/systemd
synced 2026-03-26 16:54:53 +01:00
Compare commits
No commits in common. "00a942ea5e81a0b6994a75f7170f6266570448b0" and "940e26c19c84c8b4fb01edb3439196cc53234b2b" have entirely different histories.
00a942ea5e
...
940e26c19c
@ -186,7 +186,7 @@ EOF
|
||||
fi
|
||||
systemctl start knot
|
||||
# Wait for signed.test's zone DS records to get pushed to the parent zone
|
||||
timeout 60s bash -xec 'until knotc zone-read test. signed.test. ds | grep -E "signed\.test\. [0-9]+ DS"; do sleep 2; done'
|
||||
timeout 30s bash -xec 'until knotc zone-read test. signed.test. ds | grep -E "signed\.test\. [0-9]+ DS"; do sleep 2; done'
|
||||
|
||||
systemctl status resolved-dummy-server
|
||||
networkctl status
|
||||
@ -829,7 +829,6 @@ testcase_09_resolvectl_showcache() {
|
||||
} > /run/systemd/network/10-dns2.network
|
||||
networkctl reload
|
||||
networkctl reconfigure dns2
|
||||
/usr/lib/systemd/systemd-networkd-wait-online --timeout=60 --dns --interface=dns2
|
||||
|
||||
mkdir -p /run/systemd/resolved.conf.d/
|
||||
{
|
||||
@ -1378,10 +1377,10 @@ testcase_15_wait_online_dns() {
|
||||
|
||||
# Begin systemd-networkd-wait-online --dns
|
||||
systemd-run -u "$unit" -p "Environment=SYSTEMD_LOG_LEVEL=debug" -p "Environment=SYSTEMD_LOG_TARGET=journal" --service-type=exec \
|
||||
/usr/lib/systemd/systemd-networkd-wait-online --timeout=0 --dns --interface=dns0
|
||||
/usr/lib/systemd/systemd-networkd-wait-online --timeout=20 --dns --interface=dns0
|
||||
|
||||
# Wait until it blocks waiting for updated DNS config
|
||||
timeout 30 bash -c "journalctl -b -u $unit -f | grep -q -m1 'dns0: No.*DNS server is accessible'"
|
||||
timeout 10 bash -c "journalctl -b -u $unit -f | grep -q -m1 'dns0: No.*DNS server is accessible'"
|
||||
|
||||
# Update the global configuration. Restart rather than reload systemd-resolved so that
|
||||
# systemd-networkd-wait-online has to re-connect to the varlink service.
|
||||
@ -1392,7 +1391,7 @@ testcase_15_wait_online_dns() {
|
||||
systemctl restart systemd-resolved.service
|
||||
|
||||
# Wait for the monitor to exit gracefully.
|
||||
timeout 30 bash -c "while systemctl --quiet is-active $unit; do sleep 0.5; done"
|
||||
timeout 10 bash -c "while systemctl --quiet is-active $unit; do sleep 0.5; done"
|
||||
journalctl --sync
|
||||
|
||||
# Check that a disconnect happened, and was handled.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user