Remove sqlite transaction tests for ent
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
This commit is contained in:
parent
096e229562
commit
575742b137
@ -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))),
|
||||||
|
@ -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)
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user