From 49c87145b9a711e4c53e890ffb354e6cb04e34bb Mon Sep 17 00:00:00 2001 From: Cloud Deploy Team Date: Thu, 8 Oct 2026 12:51:13 -0700 Subject: [PATCH] Update fakegcsserver to v1.56.1 PiperOrigin-RevId: 996013660 --- packages/gcs/gcs_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/gcs/gcs_test.go b/packages/gcs/gcs_test.go index 0ad14a8..7915bd4 100644 --- a/packages/gcs/gcs_test.go +++ b/packages/gcs/gcs_test.go @@ -155,6 +155,7 @@ func TestUploadGCS(t *testing.T) { fakeContent := "hello world" fakeObj := "obj" fakeGCS := fakestorage.NewServer([]fakestorage.Object{}) + t.Cleanup(fakeGCS.Stop) fakeGCS.CreateBucketWithOpts(fakestorage.CreateBucketOpts{Name: bucket}) fakeContentForFile := "hellooo" @@ -195,8 +196,6 @@ func TestUploadGCS(t *testing.T) { if string(o.Content) != test.wantContent { t.Errorf("uploadGCS failed with wrong content: got %q, want %q", o.Content, test.wantContent) } - - fakeGCS.Stop() }) }