Allow skipping TestConnExecBatchHuge in short mode

query-exec-mode
Jack Christensen 2019-04-20 15:34:49 -05:00
parent 7a520059d9
commit f3b5f6b275
1 changed files with 4 additions and 0 deletions

View File

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