From 42bafa898c6e9a3d1275336336fb092ad4ca00c4 Mon Sep 17 00:00:00 2001 From: Reactor Scram Date: Thu, 9 May 2024 10:06:01 -0500 Subject: [PATCH] chore(ci): fix `debug_exit` in the flaky systemd DNS test (#4934) If these fail we shouldn't bail out since we're already bailing out and we need them to continue for debug output. Refs #4921 --- scripts/tests/systemd/dns-systemd-resolved.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tests/systemd/dns-systemd-resolved.sh b/scripts/tests/systemd/dns-systemd-resolved.sh index 2f02a1a34..7241d97c7 100755 --- a/scripts/tests/systemd/dns-systemd-resolved.sh +++ b/scripts/tests/systemd/dns-systemd-resolved.sh @@ -9,8 +9,8 @@ SERVICE_NAME=firezone-client-headless debug_exit() { echo "Bailing out. Waiting a couple seconds for things to settle..." sleep 5 - resolvectl dns tun-firezone - systemctl status "$SERVICE_NAME" + resolvectl dns tun-firezone || true + systemctl status "$SERVICE_NAME" || true exit 1 }