Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Renan Rangel <[email protected]>
  • Loading branch information
rvrangel committed Aug 13, 2024
1 parent 4aae34b commit 7116317
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion go/vt/mysqlctl/mysqlshellbackupengine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ func TestMySQLShellBackupRestorePreCheckDisableRedolog(t *testing.T) {
mysqlShellSpeedUpRestore = true
engine := MySQLShellBackupEngine{}

fakeMysqld := NewFakeMysqlDaemon(fakesqldb.New(t)) // defaults to 8.0.32
fakedb := fakesqldb.New(t)
defer fakedb.Close()
fakeMysqld := NewFakeMysqlDaemon(fakedb) // defaults to 8.0.32
defer fakeMysqld.Close()

params := RestoreParams{
Mysqld: fakeMysqld,
}
Expand Down

0 comments on commit 7116317

Please sign in to comment.