Skip to content

test: add atomicity regression tests for UPDATE/DELETE failures #154

@aviralgarg05

Description

@aviralgarg05

Summary

Add integration tests for UPDATE/DELETE atomicity when WHERE evaluation fails.

Why

Executor uses two-phase logic to prevent partial writes/deletes; this guarantee should be locked in with regression tests.

Tasks

  • Add integration tests in tests/integration_test.rs
  • Create failure case where WHERE evaluation errors
  • Assert no partial updates/deletions occur

Acceptance Criteria

  • Failing WHERE path leaves data unchanged
  • Tests fail on regression and pass in current implementation
  • Assertions cover both UPDATE and DELETE

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions