From 07cbd3d3d3c0326b704fcf91bc16326ca0177faa Mon Sep 17 00:00:00 2001 From: Yihang Wang Date: Fri, 30 Aug 2024 01:46:36 +0800 Subject: [PATCH] chore: Update scheduler_test.go to use hyphen for result, status, and 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 --- scheduler_test.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scheduler_test.go b/scheduler_test.go index 3360344..4414da1 100644 --- a/scheduler_test.go +++ b/scheduler_test.go @@ -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))