Skip another initially deferred test on CockroachDB
This commit is contained in:
@@ -105,6 +105,10 @@ func TestTxCommitWhenDeferredConstraintFailure(t *testing.T) {
|
|||||||
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
|
conn := mustConnectString(t, os.Getenv("PGX_TEST_DATABASE"))
|
||||||
defer closeConn(t, conn)
|
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 := `
|
createSql := `
|
||||||
create temporary table foo(
|
create temporary table foo(
|
||||||
id integer,
|
id integer,
|
||||||
|
|||||||
Reference in New Issue
Block a user