Skip test with serial on CockroachDB

pull/955/head
Jack Christensen 2021-02-13 13:26:15 -06:00
parent 2e50e59491
commit f29aef4409
1 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,10 @@ func TestConnSendBatch(t *testing.T) {
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
defer closeConn(t, conn)
if conn.PgConn().ParameterStatus("crdb_version") != "" {
t.Skip("Server serial type is incompatible with test")
}
sql := `create temporary table ledger(
id serial primary key,
description varchar not null,