mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-06 19:17:28 +01:00
tests: gofmt the cut test
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
49f8c1630d
commit
30c2f43579
1 file changed
+3
-2
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user