mirror of https://github.com/jackc/pgx.git
Skip test with non-standard CRDB behavior
parent
c31b89a3f2
commit
3dafb5d4ee
|
@ -974,6 +974,10 @@ func TestStmtCacheInvalidationTx(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 has non-standard prepare in errored transaction behavior (https://github.com/cockroachdb/cockroach/issues/84140)")
|
||||||
|
}
|
||||||
|
|
||||||
// create a table and fill it with some data
|
// create a table and fill it with some data
|
||||||
_, err := conn.Exec(ctx, `
|
_, err := conn.Exec(ctx, `
|
||||||
DROP TABLE IF EXISTS drop_cols;
|
DROP TABLE IF EXISTS drop_cols;
|
||||||
|
|
Loading…
Reference in New Issue