Skip to content

Commit

Permalink
sink(ticdc): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Jan 10, 2023
1 parent bd60edf commit 9136575
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions cdc/sinkv2/eventsink/txn/mysql/mysql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1446,17 +1446,6 @@ func TestPrepareBatchDMLs(t *testing.T) {
}
}

<<<<<<< HEAD
func TestNetworkPartition(t *testing.T) {
ctx := context.Background()
ms := newMySQLBackendWithoutDB(ctx)
ms.cfg.WriteTimeout = "1s"
_ = failpoint.Enable("github.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/MySQLSinkHangLongTime", "return")
defer failpoint.Disable("github.com/pingcap/tiflow/cdc/sinkv2/eventsink/txn/mysql/MySQLSinkHangLongTime")

err := ms.execDMLWithMaxRetries(ctx, &preparedDMLs{})
require.Equal(t, context.Canceled, err)
=======
func TestGroupRowsByType(t *testing.T) {
ctx := context.Background()
ms := newMySQLBackendWithoutDB(ctx)
Expand Down Expand Up @@ -1691,5 +1680,4 @@ func TestGroupRowsByType(t *testing.T) {
}
})
}
>>>>>>> f71045fc12 (sink(ticdc): use separate ctx for each DML (#7981))
}

0 comments on commit 9136575

Please sign in to comment.