2
0

Skip another initially deferred test on CockroachDB

This commit is contained in:
Jack Christensen
2021-02-13 13:38:28 -06:00
parent 80e7f6b0d3
commit 9fe7962445
+4
View File
@@ -105,6 +105,10 @@ func TestTxCommitWhenDeferredConstraintFailure(t *testing.T) {
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
defer closeConn(t, conn)
if conn.PgConn().ParameterStatus("crdb_version") != "" {
t.Skip("Server does not support deferred constraint (https://github.com/cockroachdb/cockroach/issues/31632)")
}
createSql := `
create temporary table foo(
id integer,