(t *testing.T)
| 62 | } |
| 63 | |
| 64 | func TestConnSendBatch(t *testing.T) { |
| 65 | t.Parallel() |
| 66 | |
| 67 | ctx, cancel := context.WithTimeout(context.Background(), 120*time.Second) |
| 68 | defer cancel() |
| 69 | |
| 70 | pool, err := pgxpool.New(ctx, os.Getenv("PGX_TEST_DATABASE")) |
| 71 | require.NoError(t, err) |
| 72 | defer pool.Close() |
| 73 | |
| 74 | c, err := pool.Acquire(ctx) |
| 75 | require.NoError(t, err) |
| 76 | defer c.Release() |
| 77 | |
| 78 | testSendBatch(t, ctx, c) |
| 79 | } |
| 80 | |
| 81 | func TestConnCopyFrom(t *testing.T) { |
| 82 | t.Parallel() |
nothing calls this directly
no test coverage detected