Skip to content

Commit

Permalink
Merge branch 'main' into fix-panic-in-on-duplicate-key-update
Browse files Browse the repository at this point in the history
  • Loading branch information
mergify[bot] authored Dec 24, 2024
2 parents 9a881be + e9303b8 commit e1225b1
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pkg/vm/engine/engine_util/tombstone_data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ package engine_util
import (
"bytes"
"context"
"github.com/matrixorigin/matrixone/pkg/common/runtime"
"testing"
"time"

Expand All @@ -35,9 +36,11 @@ import (
func TestTombstoneData1(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Minute*5)
defer cancel()

blockio.Start("")
defer blockio.Stop("")
rt := runtime.DefaultRuntime()
name := t.Name()
runtime.SetupServiceBasedRuntime(name, rt)
blockio.Start(name)
defer blockio.Stop(name)

proc := testutil.NewProc()

Expand Down Expand Up @@ -102,7 +105,7 @@ func TestTombstoneData1(t *testing.T) {

deleteMask := objectio.GetReusableBitmap()
defer deleteMask.Release()
tombstones1.PrefetchTombstones("", fs, nil)
tombstones1.PrefetchTombstones(name, fs, nil)
for i := range tombstoneRowIds {
sIdx := i / int(stats1.Rows())
if sIdx == 2 {
Expand Down

0 comments on commit e1225b1

Please sign in to comment.