diff --git a/pkg/vm/engine/tae/db/merge/cnScheduler_test.go b/pkg/vm/engine/tae/db/merge/cnScheduler_test.go index 1a947dc4492ef..ebf26dd76fe12 100644 --- a/pkg/vm/engine/tae/db/merge/cnScheduler_test.go +++ b/pkg/vm/engine/tae/db/merge/cnScheduler_test.go @@ -79,7 +79,7 @@ func TestScheduler_CNActiveObjectsString(t *testing.T) { meta := new(api.MergeTaskEntry) require.NoError(t, meta.Unmarshal(tasks[0].Metadata.Context)) require.Equal(t, meta.DbName, tbl.GetDB().GetName()) - require.Error(t, cnScheduler.sendMergeTask(context.Background(), taskEntry)) + require.NoError(t, cnScheduler.sendMergeTask(context.Background(), taskEntry)) } func TestExecutorCNMerge(t *testing.T) {