From a94150bb0c5cc8be5da1206a9fd23392aab02b7d Mon Sep 17 00:00:00 2001 From: samcharles93 Date: Thu, 17 Sep 2026 11:03:29 +0000 Subject: [PATCH] fix: baseline gate repair (go test ./... -count=1) --- internal/app/archied/state_store_client_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/app/archied/state_store_client_test.go b/internal/app/archied/state_store_client_test.go index 9c6442ee6..780859524 100644 --- a/internal/app/archied/state_store_client_test.go +++ b/internal/app/archied/state_store_client_test.go @@ -19,6 +19,8 @@ func TestComposeStateStoreClientRequiresTarget(t *testing.T) { } func TestComposeStateStoreClientNonLoopbackFailsClosed(t *testing.T) { + // Keep this test independent of credentials inherited from the test runner. + t.Setenv("STATE_STORE_TOKEN", "") for _, tt := range []struct { name string target string @@ -73,6 +75,8 @@ func TestOpenStateStoreAdapterRequiresTarget(t *testing.T) { } func TestOpenStateStoreAdapterRemoteFailsClosed(t *testing.T) { + // Keep this test independent of credentials inherited from the test runner. + t.Setenv("STATE_STORE_TOKEN", "") b := newBootstrap() b.secrets = &secret.Registry{} b.cfg.Services.State = config.ServiceConnection{Target: "0.0.0.0:9090"}