From ef2adcee085158931bc6c62fb62ed7660e97434a Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Sat, 13 Feb 2021 14:01:43 -0600 Subject: [PATCH] Skip number type dependent test for CockroachDB --- query_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/query_test.go b/query_test.go index 71b4fb1a..1454b42b 100644 --- a/query_test.go +++ b/query_test.go @@ -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()