From 0d5e686f5a02bc2edc6b5563802ee3371c1fef4f Mon Sep 17 00:00:00 2001 From: ywqzzy <592838129@qq.com> Date: Tue, 2 Jan 2024 17:19:32 +0800 Subject: [PATCH] u --- pkg/disttask/framework/storage/table_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/disttask/framework/storage/table_test.go b/pkg/disttask/framework/storage/table_test.go index 66b29dd58783d..de165f7f53a7a 100644 --- a/pkg/disttask/framework/storage/table_test.go +++ b/pkg/disttask/framework/storage/table_test.go @@ -970,7 +970,7 @@ func TestCancelAndExecIdChanged(t *testing.T) { } func TestTaskNotFound(t *testing.T) { - gm, ctx := testutil.InitTableTest(t) + _, gm, ctx := testutil.InitTableTest(t) task, err := gm.GetTaskByID(ctx, 1) require.Error(t, err, storage.ErrTaskNotFound) require.Nil(t, task)