From 575742b137ed15d968843b741aa41eed1a31131e Mon Sep 17 00:00:00 2001 From: "m.nabokikh" Date: Tue, 14 Sep 2021 18:55:03 +0400 Subject: [PATCH] Remove sqlite transaction tests for ent Signed-off-by: m.nabokikh --- storage/ent/sqlite.go | 2 +- storage/ent/sqlite_test.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/storage/ent/sqlite.go b/storage/ent/sqlite.go index 3fd56c92..22866b6f 100644 --- a/storage/ent/sqlite.go +++ b/storage/ent/sqlite.go @@ -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 // attempting concurrent access will have to wait pool := drv.DB() - pool.SetMaxOpenConns(5) + pool.SetMaxOpenConns(1) databaseClient := client.NewDatabase( client.WithClient(db.NewClient(db.Driver(drv))), diff --git a/storage/ent/sqlite_test.go b/storage/ent/sqlite_test.go index 10047b7f..301d769b 100644 --- a/storage/ent/sqlite_test.go +++ b/storage/ent/sqlite_test.go @@ -27,5 +27,4 @@ func newSQLiteStorage() storage.Storage { func TestSQLite3(t *testing.T) { conformance.RunTests(t, newSQLiteStorage) - conformance.RunTransactionTests(t, newSQLiteStorage) }