mirror of
https://github.com/go-gitea/gitea
synced 2025-07-16 07:18:37 +00:00
This commit is contained in:
@@ -84,7 +84,7 @@ func MainTest(m *testing.M, pathToGiteaRoot string) {
|
||||
|
||||
func createTestEngine(fixturesDir string) error {
|
||||
var err error
|
||||
x, err = xorm.NewEngine("sqlite3", "file::memory:?cache=shared")
|
||||
x, err = xorm.NewEngine("sqlite3", "file::memory:?cache=shared&_txlock=immediate")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
Reference in New Issue
Block a user