Skip to content

Commit

Permalink
added vstream options to testing
Browse files Browse the repository at this point in the history
  • Loading branch information
makinje16 committed Jan 17, 2025
1 parent 164656d commit f05276b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions go/vt/vttablet/tabletserver/vstreamer/vstreamer_flaky_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ func TestVStreamCopyWithDifferentFilters(t *testing.T) {
return io.EOF
}
return nil
})
}, nil)
}()
wg.Wait()
if errGoroutine != nil {
Expand Down Expand Up @@ -2030,7 +2030,7 @@ func TestMinimalMode(t *testing.T) {
engine = oldEngine
env = oldEnv
}()
err := engine.Stream(context.Background(), "current", nil, nil, throttlerapp.VStreamerName, func(evs []*binlogdatapb.VEvent) error { return nil })
err := engine.Stream(context.Background(), "current", nil, nil, throttlerapp.VStreamerName, func(evs []*binlogdatapb.VEvent) error { return nil }, nil)
require.Error(t, err, "minimal binlog_row_image is not supported by Vitess VReplication")
}

Expand Down Expand Up @@ -2431,7 +2431,7 @@ func vstream(ctx context.Context, t *testing.T, pos string, tablePKs []*binlogda
return io.EOF
}
return nil
})
}, nil)
}

func execStatement(t *testing.T, query string) {
Expand Down

0 comments on commit f05276b

Please sign in to comment.