From c19bce4a0c3b10a712b32b350c0463fa25afdce2 Mon Sep 17 00:00:00 2001 From: Wei Ziran Date: Fri, 20 Dec 2024 11:13:52 +0800 Subject: [PATCH] fix ut --- pkg/vm/engine/tae/db/merge/cnScheduler_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {