Skip to content

Commit

Permalink
modify: set connected true, so test case will not try to connect to s…
Browse files Browse the repository at this point in the history
…erver
  • Loading branch information
winfredLIN committed Dec 3, 2024
1 parent 3047712 commit 5251da4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sqle/driver/mysql/audit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ func NewMockInspectWithIsExecutedSQL(e *executor.Executor) *MysqlDriverImpl {
Password: "123456",
DatabaseName: "mysql",
},
Ctx: session.NewMockContext(e),
isConnected: true,
Ctx: session.NewMockContext(e),
cnf: &Config{
DDLOSCMinSize: 16,
DDLGhostMinSize: 16,
Expand Down

0 comments on commit 5251da4

Please sign in to comment.