Skip to content

Commit

Permalink
update testkit.
Browse files Browse the repository at this point in the history
  • Loading branch information
3AceShowHand committed Nov 23, 2023
1 parent 68e277b commit 2d16e87
Show file tree
Hide file tree
Showing 3 changed files with 139 additions and 189 deletions.
4 changes: 1 addition & 3 deletions cdc/entry/mounter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func testMounterDisableOldValue(t *testing.T, tc struct {

f, err := filter.NewFilter(config.GetDefaultReplicaConfig(), "")
require.Nil(t, err)
jobs, err := getAllHistoryDDLJob(tk.Storage(), f)
jobs, err := tk.GetAllHistoryDDLJob(f)
require.Nil(t, err)

scheamStorage, err := NewSchemaStorage(nil, 0, false, dummyChangeFeedID, util.RoleTester, f)
Expand Down Expand Up @@ -1713,8 +1713,6 @@ func TestNewDMRowChange(t *testing.T) {
}

func TestFormatColVal(t *testing.T) {
t.Parallel()

ftTypeFloatNotNull := types.NewFieldType(mysql.TypeFloat)
ftTypeFloatNotNull.SetFlag(mysql.NotNullFlag)
col := &timodel.ColumnInfo{FieldType: *ftTypeFloatNotNull}
Expand Down
Loading

0 comments on commit 2d16e87

Please sign in to comment.