From 30c2f435793a6128a49119a2e2c604b20b7e35a8 Mon Sep 17 00:00:00 2001 From: pingqiu Date: Wed, 25 Nov 2026 21:16:49 -0800 Subject: [PATCH] tests: gofmt the cut test Co-Authored-By: Claude Opus 5.5 --- .../chunkstore/layout_cut_upload_integration_test.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/seaweed-block/core/frontend/chunkstore/layout_cut_upload_integration_test.go b/seaweed-block/core/frontend/chunkstore/layout_cut_upload_integration_test.go index b43065c960..5bd1edb921 100644 --- a/seaweed-block/core/frontend/chunkstore/layout_cut_upload_integration_test.go +++ b/seaweed-block/core/frontend/chunkstore/layout_cut_upload_integration_test.go @@ -107,8 +107,9 @@ func TestIntegration_CutUploadLeavesNoEntryOrACompleteOne(t *testing.T) { var absent, complete int for round := 0; round < rounds; round++ { seed := int64(round + 1) - target := pick.Intn(4) // the upload to cut - delay := time.Duration(pick.Intn(40)) * time.Millisecond // into that upload + // the upload to cut, and how far into it + target := pick.Intn(4) + delay := time.Duration(pick.Intn(40)) * time.Millisecond cmd := exec.CommandContext(ctx, os.Args[0], "-test.run=^TestIntegration_CutUploadHelper$", "-test.v") cmd.Env = append(os.Environ(), fmt.Sprintf("%s=%s|%s|%s|%d|child-%d", cutHelperEnv, c.filerGRPC, root, id, seed, round)) stdout, err := cmd.StdoutPipe()