Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
aptend committed Jan 17, 2025
1 parent eae0aed commit 507bc2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/backup/backup_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -472,8 +472,8 @@ func TestBackupData5(t *testing.T) {
txn, rel := testutil.GetDefaultRelation(t, db.DB, schema.Name)
testutil.CheckAllColRowsByScan(t, rel, int(totalRows), false)

obj := testutil.GetOneObject(rel)
id := obj.GetMeta().(*catalog.ObjectEntry).AsCommonID()
obj := testutil.GetOneBlockMeta(rel)
id := obj.AsCommonID()
err := rel.RangeDelete(id, 0, 0, handle.DT_Normal)
require.NoError(t, err)
deletedRows = 1
Expand Down

0 comments on commit 507bc2a

Please sign in to comment.