Skip number type dependent test for CockroachDB

This commit is contained in:
Jack Christensen 2021-02-13 14:01:43 -06:00
parent a3d5992acc
commit 0673179d95

View File

@ -1361,6 +1361,10 @@ func TestQueryContextErrorWhileReceivingRows(t *testing.T) {
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
defer closeConn(t, conn)
if conn.PgConn().ParameterStatus("crdb_version") != "" {
t.Skip("Server uses numeric instead of int")
}
ctx, cancelFunc := context.WithCancel(context.Background())
defer cancelFunc()