The connection doesn't go in read-only mode if the statement is executed
using the advanced protocol.
See https://github.com/cockroachdb/cockroach/issues/87012
"2-phase commit": 22329,
"backend pid": 35897,
"batch statements": 44803,
+ "begin_read_only": 87012,
"binary decimal": 82492,
"cancel": 41335,
"cast adds tz": 51692,
tx_params_isolation = [
pytest.param(
param_isolation,
+ id="isolation_level",
marks=pytest.mark.crdb("skip", reason="transaction isolation"),
),
- param_read_only,
- pytest.param(param_deferrable, marks=pytest.mark.crdb_skip("deferrable")),
+ pytest.param(
+ param_read_only, id="read_only", marks=pytest.mark.crdb_skip("begin_read_only")
+ ),
+ pytest.param(
+ param_deferrable, id="deferrable", marks=pytest.mark.crdb_skip("deferrable")
+ ),
]