Skip to content

Commit cce19c4

Browse files
committed
fix build
1 parent dd443a7 commit cce19c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/session/test/session_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,13 +1015,13 @@ insert into test.t values ("abc"); -- invalid statement
10151015
session.DisableRunBootstrapSQLFileInTest()
10161016

10171017
// Bootstrap with the second sql file, which would not been executed.
1018-
store, err = mockstore.NewMockStore()
1018+
store, err = mockstore.NewMockStore(mockstore.WithStoreType(mockstore.EmbedUnistore))
10191019
require.NoError(t, err)
10201020
defer func() {
10211021
require.NoError(t, store.Close())
10221022
}()
10231023
config.GetGlobalConfig().InitializeSQLFile = sqlFiles[1].Name()
1024-
dom, err = session.BootstrapSession(store, mockstore.WithStoreType(mockstore.EmbedUnistore))
1024+
dom, err = session.BootstrapSession(store)
10251025
require.NoError(t, err)
10261026
se := session.CreateSessionAndSetID(t, store)
10271027
ctx := context.Background()

0 commit comments

Comments
 (0)