Skip to content

Commit

Permalink
Skip test on CockroachDB
Browse files Browse the repository at this point in the history
  • Loading branch information
jackc committed Feb 3, 2024
1 parent 832b4f9 commit 7caa448
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1345,6 +1345,8 @@ func TestConnDeallocateInvalidatedCachedStatementsWhenCanceled(t *testing.T) {
defer cancel()

pgxtest.RunWithQueryExecModes(ctx, t, defaultConnTestRunner, nil, func(ctx context.Context, t testing.TB, conn *pgx.Conn) {
pgxtest.SkipCockroachDB(t, conn, "CockroachDB returns decimal instead of integer for integer division")

var n int32
err := conn.QueryRow(ctx, "select 1 / $1::int", 1).Scan(&n)
require.NoError(t, err)
Expand Down

0 comments on commit 7caa448

Please sign in to comment.