2
0

Allow skipping TestConnExecBatchHuge in short mode

This commit is contained in:
Jack Christensen
2019-04-20 15:34:49 -05:00
parent 7a520059d9
commit f3b5f6b275
+4
View File
@@ -686,6 +686,10 @@ func TestConnExecBatchPrecanceled(t *testing.T) {
//
// See https://github.com/jackc/pgx/issues/374.
func TestConnExecBatchHuge(t *testing.T) {
if testing.Short() {
t.Skip("skipping test in short mode.")
}
t.Parallel()
pgConn, err := pgconn.Connect(context.Background(), os.Getenv("PGX_TEST_DATABASE"))