(t *testing.T)
| 45 | } |
| 46 | |
| 47 | func TestConnQueryRow(t *testing.T) { |
| 48 | t.Parallel() |
| 49 | |
| 50 | ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second) |
| 51 | defer cancel() |
| 52 | |
| 53 | pool, err := pgxpool.New(ctx, os.Getenv("PGX_TEST_DATABASE")) |
| 54 | require.NoError(t, err) |
| 55 | defer pool.Close() |
| 56 | |
| 57 | c, err := pool.Acquire(ctx) |
| 58 | require.NoError(t, err) |
| 59 | defer c.Release() |
| 60 | |
| 61 | testQueryRow(t, ctx, c) |
| 62 | } |
| 63 | |
| 64 | func TestConnSendBatch(t *testing.T) { |
| 65 | t.Parallel() |
nothing calls this directly
no test coverage detected