Commit b676a0b
Add local database cleanup in resurrection test setup
Ensure tombstone_resurrection_test starts with a clean local database
by deleting any existing database from previous runs.
This prevents interference from previous test data and ensures
reproducible results.
Changes:
- Check if database exists before opening
- Delete existing database if found
- Log cleanup action for transparency
This is critical for the resurrection test scenario where we need
to control exactly when the document is created with its updatedAt
timestamp.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 7ad96fb commit b676a0b
1 file changed
+12
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
50 | 60 | | |
51 | | - | |
| 61 | + | |
52 | 62 | | |
53 | | - | |
| 63 | + | |
54 | 64 | | |
55 | 65 | | |
56 | 66 | | |
| |||
0 commit comments