Skip to content

Commit a40ad58

Browse files
author
James Cor
committed
allow persist
1 parent 02d07b5 commit a40ad58

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

enginetest/enginetests.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,7 @@ func TestUserAuthentication(t *testing.T, h Harness) {
11711171
}
11721172

11731173
engine := mustNewEngine(t, harness)
1174+
engine.Analyzer.Catalog.MySQLDb.CanPersist = true
11741175
defer engine.Close()
11751176
engine.Analyzer.Catalog.MySQLDb.AddRootAccount()
11761177
if script.SetUpFunc != nil {
@@ -5402,6 +5403,7 @@ func TestPrivilegePersistence(t *testing.T, h Harness) {
54025403
User: "root",
54035404
Address: "localhost",
54045405
})
5406+
engine.Analyzer.Catalog.MySQLDb.CanPersist = true
54055407

54065408
var users []*mysql_db.User
54075409
var roles []*mysql_db.RoleEdge

0 commit comments

Comments
 (0)