Skip to content

Commit

Permalink
fix fakemysqldaemon new location
Browse files Browse the repository at this point in the history
Signed-off-by: 'Renan Rangel' <rrangel@slack-corp.com>
  • Loading branch information
rvrangel committed Oct 24, 2024
1 parent c06b527 commit 0edb426
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions go/vt/vttablet/tabletmanager/vreplication/fuzz.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"vitess.io/vitess/go/sqltypes"
"vitess.io/vitess/go/sync2"
"vitess.io/vitess/go/vt/binlog/binlogplayer"
"vitess.io/vitess/go/vt/mysqlctl/fakemysqldaemon"
"vitess.io/vitess/go/vt/mysqlctl"
"vitess.io/vitess/go/vt/topo/memorytopo"

fuzz "github.com/AdaLogics/go-fuzz-headers"
Expand Down Expand Up @@ -94,7 +94,7 @@ func FuzzEngine(data []byte) int {
resetBinlogClient()
dbClient := binlogplayer.NewMockDBClient(t)
dbClientFactory := func() binlogplayer.DBClient { return dbClient }
mysqld := &fakemysqldaemon.FakeMysqlDaemon{MysqlPort: sync2.NewAtomicInt32(3306)}
mysqld := &mysqlctl.FakeMysqlDaemon{MysqlPort: sync2.NewAtomicInt32(3306)}

vre := NewTestEngine(topoServer, "cell1", mysqld, dbClientFactory, dbClientFactory, dbClient.DBName(), nil)

Expand Down
2 changes: 1 addition & 1 deletion go/vt/wrangler/doc_test.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test the workflow state machine. There is no actual data being vreplicated.

#### The fake MySQLDaemon

`go/vt/mysqlctl/fakemysqldaemon/fakemysqldaemon.go`
`go/vt/mysqlctl/fakemysqldaemon.go`

Used to set primary positions to provide/validate gtids.

Expand Down

0 comments on commit 0edb426

Please sign in to comment.