mirror of
https://github.com/ManyakRus/starter.git
synced 2025-11-25 23:02:22 +02:00
сделал postgres_pgxpool
This commit is contained in:
@@ -115,9 +115,9 @@ func TestConnect_WithApplicationName_err(t *testing.T) {
|
||||
|
||||
func TestRawMultipleSQL(t *testing.T) {
|
||||
config_main.LoadEnv()
|
||||
connection, _ := GetConnection_err()
|
||||
defer connection.Release()
|
||||
//defer CloseConnection()
|
||||
connection := GetConnection()
|
||||
//defer connection.Release()
|
||||
defer CloseConnection()
|
||||
|
||||
TimeStart := time.Now()
|
||||
|
||||
@@ -156,7 +156,7 @@ SELECT * FROM temp_TestRawMultipleSQL2
|
||||
// TestRawMultipleSQL2 - negative test, with error
|
||||
func TestRawMultipleSQL2(t *testing.T) {
|
||||
config_main.LoadEnv()
|
||||
GetConnection_err()
|
||||
GetConnection()
|
||||
defer CloseConnection()
|
||||
|
||||
TimeStart := time.Now()
|
||||
|
||||
Reference in New Issue
Block a user