From f4d9a204df3b4cd46f9998005d3747b777ead8da Mon Sep 17 00:00:00 2001 From: Jamil Date: Mon, 1 Jul 2024 09:24:52 -0700 Subject: [PATCH] ci: increase sleep for flaky integration tests due to slow GH runners (#5667) Both of these deal with the tunnel interface being initialized, which seems to take more than 1s when we have a lot of jobs running. --------- Signed-off-by: Jamil --- scripts/tests/direct-download-roaming-network.sh | 3 +-- scripts/tests/systemd/dns-systemd-resolved.sh | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/tests/direct-download-roaming-network.sh b/scripts/tests/direct-download-roaming-network.sh index 292d2c2e4..28c407d2d 100755 --- a/scripts/tests/direct-download-roaming-network.sh +++ b/scripts/tests/direct-download-roaming-network.sh @@ -18,8 +18,7 @@ DOWNLOAD_PID=$! sleep 3 # Download a bit docker network disconnect firezone_app firezone-client-1 # Disconnect the client -sleep 1 - +sleep 3 docker network connect firezone_app firezone-client-1 --ip 172.28.0.200 # Reconnect client with a different IP # Send SIGHUP, triggering `reconnect` internally diff --git a/scripts/tests/systemd/dns-systemd-resolved.sh b/scripts/tests/systemd/dns-systemd-resolved.sh index 96b16d54c..8199b172c 100755 --- a/scripts/tests/systemd/dns-systemd-resolved.sh +++ b/scripts/tests/systemd/dns-systemd-resolved.sh @@ -45,7 +45,7 @@ stat "/usr/bin/$BINARY_NAME" sudo systemctl start "$SERVICE_NAME" || debug_exit # Wait for connlib to set DNS sentinel and update Resources -sleep 1 +sleep 3 resolvectl dns tun-firezone resolvectl query "$HTTPBIN" || debug_exit