Skip to content

Commit

Permalink
chore: Update scheduler_test.go to use hyphen for result, status, and…
Browse files Browse the repository at this point in the history
… metadata file paths

This commit updates the scheduler_test.go file to use hyphen (-) as the file path for the result, status, and metadata files. Previously, an empty string was used for the result file path, but now it is changed to a hyphen. Additionally, the status and metadata file paths are also set to hyphen.

Update scheduler_test.go to use hyphen for result, status, and metadata file paths
  • Loading branch information
WangYihang committed Aug 29, 2024
1 parent 0409504 commit 07cbd3d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scheduler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@ func TestSharding(t *testing.T) {
scheduler := gojob.New(
gojob.WithNumShards(tc.numShards),
gojob.WithShard(tc.shard),
gojob.WithResultFilePath(""),
gojob.WithResultFilePath("-"),
gojob.WithStatusFilePath("-"),
gojob.WithMetadataFilePath("-"),
).Start()
for i := 0; i < 16; i++ {
scheduler.Submit(newTask(i, safeWriter))
Expand Down

0 comments on commit 07cbd3d

Please sign in to comment.