Skip to content

Commit

Permalink
Adjust tests
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lord <mattalord@gmail.com>
  • Loading branch information
mattlord committed Aug 14, 2024
1 parent 13cba66 commit 909c18f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ func TestPlayerStatementModeWithFilter(t *testing.T) {
output := qh.Expect(
"begin",
"rollback",
"/update _vt.vreplication set message='filter rules are not supported for SBR",
"/update _vt.vreplication set message='error applying event while processing position .* filter rules are not supported for SBR.*",
)

execStatements(t, input)
Expand Down Expand Up @@ -1758,8 +1758,8 @@ func TestPlayerDDL(t *testing.T) {
execStatements(t, []string{"alter table t1 add column val2 varchar(128)"})
expectDBClientQueries(t, qh.Expect(
"alter table t1 add column val2 varchar(128)",
"/update _vt.vreplication set message='Duplicate",
"/update _vt.vreplication set state='Error', message='Duplicate",
"/update _vt.vreplication set message='error applying event: Duplicate",
"/update _vt.vreplication set state='Error', message='error applying event: Duplicate",
))
cancel()

Expand Down

0 comments on commit 909c18f

Please sign in to comment.