Skip to content

test: verify JDBC rollback retry before safe close - #239

Draft
philipgreat wants to merge 1 commit into
fix/p1-jdbc-close-unknown-20261020from
test/p1-java-close-one-shot-20261020
Draft

philipgreat wants to merge 1 commit into
fix/p1-jdbc-close-unknown-20261020from
test/p1-java-close-one-shot-20261020

Conversation

@philipgreat

Copy link
Copy Markdown
Contributor

Adds one SQLite-backed fault-injection case to the review-only #238 stack.

The first rollback throws after the business INSERT. The retry performs a real rollback. A proxy simulates commit-on-close if close happens before rollback confirmation; the test verifies exactly two rollback attempts, safe close, no abort, and zero persisted rows after reopening.

Local source gate: focused JdbcRollbackCloseSqliteTest 4/4 twice; complete teaql-sqlite Maven reactor 295 tests, 0 failures, 0 errors, 1 existing skip; git diff --check clean.

This is a test-only draft. It does not change the pinned #238 head or reuse its internal-artifact/generated-consumer receipt. If incorporated into #238, requalify the changed exact head before formal-chain integration.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant