From 59614cc63f14fa57b0b7ccde96bd97a494ac5e22 Mon Sep 17 00:00:00 2001 From: Sam Catlow Date: Wed, 23 Sep 2026 12:30:10 +1000 Subject: [PATCH] style(update): adopt the formatter's alignment in the watchdog test task check's fmt pass rewrites this literal; the version committed with the readiness-wait change predated that pass. --- internal/releaseupdate/install_script_test.go | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/internal/releaseupdate/install_script_test.go b/internal/releaseupdate/install_script_test.go index a50752c4e..9b8737af1 100644 --- a/internal/releaseupdate/install_script_test.go +++ b/internal/releaseupdate/install_script_test.go @@ -579,7 +579,7 @@ type watchdogRun struct { // condition what the watchdog does between units. Empty keeps the inert // `exit 0` stub. systemctl string - env map[string]string + env map[string]string } func runUpdateWatchdogFailure(t *testing.T, components string) (Report, string, []string) { @@ -1000,7 +1000,8 @@ func TestUpdateInstallWritesABareAgentVersionSidecar(t *testing.T) { // closed until the fake State Store binds it. func freeAddress(t *testing.T) string { t.Helper() - listener, err := net.Listen("tcp", "127.0.0.1:0") + var listen net.ListenConfig + listener, err := listen.Listen(t.Context(), "tcp", "127.0.0.1:0") if err != nil { t.Fatal(err) } @@ -1046,10 +1047,10 @@ case "$*" in esac exit 0`, env: map[string]string{ - "ARCHIE_UPDATE_HEALTH_TIMEOUT": "0", - "ARCHIE_UPDATE_UNITS": "archie-state-store archie-gateway archied", - "ARCHIE_UPDATE_STATE_STORE_TARGET": target, - "ARCHIE_UPDATE_STATE_STORE_TIMEOUT": "15", + "ARCHIE_UPDATE_HEALTH_TIMEOUT": "0", + "ARCHIE_UPDATE_UNITS": "archie-state-store archie-gateway archied", + "ARCHIE_UPDATE_STATE_STORE_TARGET": target, + "ARCHIE_UPDATE_STATE_STORE_TIMEOUT": "15", }, })