(self)
| 1672 | |
| 1673 | @testing.fixture(autouse=True) |
| 1674 | def reap_xid(self): |
| 1675 | with config.db.connect() as connection: |
| 1676 | before = connection.recover_twophase() |
| 1677 | yield |
| 1678 | with config.db.connect() as connection: |
| 1679 | for xid in connection.recover_twophase(): |
| 1680 | if xid not in before: |
| 1681 | connection.rollback_prepared(xid, recover=True) |
| 1682 | |
| 1683 | @testing.variation("mode", ["noid", "withid", "driverid"]) |
| 1684 | @testing.variation("commit", [True, False]) |
nothing calls this directly
no test coverage detected