Remove sqlite transaction tests for ent

Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
m.nabokikh 2021-09-14 18:55:03 +04:00
parent 096e229562
commit 575742b137
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ func (s *SQLite3) Open(logger log.Logger) (storage.Storage, error) {
// always allow only one connection to sqlite3, any other thread/go-routine // always allow only one connection to sqlite3, any other thread/go-routine
// attempting concurrent access will have to wait // attempting concurrent access will have to wait
pool := drv.DB() pool := drv.DB()
pool.SetMaxOpenConns(5) pool.SetMaxOpenConns(1)
databaseClient := client.NewDatabase( databaseClient := client.NewDatabase(
client.WithClient(db.NewClient(db.Driver(drv))), client.WithClient(db.NewClient(db.Driver(drv))),

View File

@ -27,5 +27,4 @@ func newSQLiteStorage() storage.Storage {
func TestSQLite3(t *testing.T) { func TestSQLite3(t *testing.T) {
conformance.RunTests(t, newSQLiteStorage) conformance.RunTests(t, newSQLiteStorage)
conformance.RunTransactionTests(t, newSQLiteStorage)
} }