Skip to content

Commit 3a0c941

Browse files
committed
Skip test on CockroachDB
1 parent 66c0c4a commit 3a0c941

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pgconn/pgconn_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,6 +1534,10 @@ func TestConnExecPreparedStatementDescriptionNetworkUsage(t *testing.T) {
15341534
defer closeConn(t, pgConn)
15351535
require.NotNil(t, counterConn)
15361536

1537+
if pgConn.ParameterStatus("crdb_version") != "" {
1538+
t.Skip("Server uses different number of bytes for same operations")
1539+
}
1540+
15371541
psd, err := pgConn.Prepare(ctx, "ps1", "select n, 'Adam', 'Smith ' || n, 'male', '1952-06-16'::date, 258, 72, '{foo,bar,baz}'::text[], '2001-01-28 01:02:03-05'::timestamptz from generate_series(100001, 100000 + $1) n", nil)
15381542
require.NoError(t, err)
15391543
require.NotNil(t, psd)

0 commit comments

Comments
 (0)