Skip to content

Commit

Permalink
cmd: add file to homedir for fio in main-v1.1 (#3213)
Browse files Browse the repository at this point in the history
Add file for test and do not use a dir (the homedir in the default scenario).

category: bug
ticket: none
  • Loading branch information
KaloyanTanev authored Aug 1, 2024
1 parent d5a59fa commit b5c31b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/testperformance.go
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ func fioCommand(ctx context.Context, filename string, blocksize int, operation s
//nolint:gosec
cmd, err := exec.CommandContext(ctx, "fio",
"--name=fioTest",
fmt.Sprintf("--filename=%v", filename),
fmt.Sprintf("--filename=%v/fiotest", filename),
fmt.Sprintf("--size=%vMb", diskOpsMBsTotal/diskOpsNumOfJobs),
fmt.Sprintf("--blocksize=%vk", blocksize),
fmt.Sprintf("--numjobs=%v", diskOpsNumOfJobs),
Expand Down

0 comments on commit b5c31b1

Please sign in to comment.