mirror of https://github.com/jackc/pgx.git
Allow skipping TestConnExecBatchHuge in short mode
parent
7a520059d9
commit
f3b5f6b275
|
@ -686,6 +686,10 @@ func TestConnExecBatchPrecanceled(t *testing.T) {
|
||||||
//
|
//
|
||||||
// See https://github.com/jackc/pgx/issues/374.
|
// See https://github.com/jackc/pgx/issues/374.
|
||||||
func TestConnExecBatchHuge(t *testing.T) {
|
func TestConnExecBatchHuge(t *testing.T) {
|
||||||
|
if testing.Short() {
|
||||||
|
t.Skip("skipping test in short mode.")
|
||||||
|
}
|
||||||
|
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
||||||
pgConn, err := pgconn.Connect(context.Background(), os.Getenv("PGX_TEST_DATABASE"))
|
pgConn, err := pgconn.Connect(context.Background(), os.Getenv("PGX_TEST_DATABASE"))
|
||||||
|
|
Loading…
Reference in New Issue