From f65e250bafbda1989be2ef988f2c02496df2ce6f Mon Sep 17 00:00:00 2001 From: GreatRiver Date: Tue, 5 Nov 2024 11:49:17 +0800 Subject: [PATCH] Fix TestAppendAndGC --- pkg/vm/engine/tae/db/test/db_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/vm/engine/tae/db/test/db_test.go b/pkg/vm/engine/tae/db/test/db_test.go index 490a8fe06818..d9bbb28e7ca7 100644 --- a/pkg/vm/engine/tae/db/test/db_test.go +++ b/pkg/vm/engine/tae/db/test/db_test.go @@ -6360,6 +6360,10 @@ func TestAppendAndGC(t *testing.T) { opts := new(options.Options) opts = config.WithQuickScanAndCKPOpts(opts) options.WithDisableGCCheckpoint()(opts) + common.RuntimeMaxMergeObjN.Store(0) + common.RuntimeOsizeRowsQualified.Store(0) + common.RuntimeMaxObjOsize.Store(0) + tae := testutil.NewTestEngine(ctx, ModuleName, t, opts) defer tae.Close() db := tae.DB