Skip to content

Commit 2a32765

Browse files
committed
Fix the other test
1 parent 1c0508d commit 2a32765

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flow/connectors/mysql/replication_mechanism_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ func TestReplicationMechanismInUseFromOffsetText(t *testing.T) {
6666
t.Run("empty", func(t *testing.T) {
6767
mechanism, err := replicationMechanismInUseFromOffsetText("mysql", "")
6868
require.NoError(t, err)
69-
require.Empty(t, mechanism)
69+
require.Equal(t, protos.MySqlReplicationMechanism_MYSQL_GTID.String(), mechanism)
7070
})
7171

7272
t.Run("invalid", func(t *testing.T) {

0 commit comments

Comments
 (0)