1
0
mirror of https://github.com/ManyakRus/starter.git synced 2025-11-25 23:02:22 +02:00

сделал postgres_pgxpool

This commit is contained in:
Nikitin Aleksandr
2025-05-28 15:05:49 +03:00
parent 55d1fd11d9
commit c1f6404c88
2 changed files with 37 additions and 33 deletions

View File

@@ -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()