Commit dc37285
Fix Transaction benchmark isolation with proper cleanup
The Transaction benchmark implementation was missing proper cleanup
in fork() and unfork() methods, unlike the Client implementation
which properly cleaned state between iterations.
This caused state pollution between benchmarks:
- Delete/Neo4j_Transaction couldn't find links created by previous
benchmark iterations
- Panic: 'NotExists(4000)' at delete.rs:23
Solution: Add drop_table() calls in Transaction's fork() and unfork()
methods to ensure each benchmark iteration starts with a clean state,
matching the Client implementation's behavior.
Fixes part of #5
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 1b69253 commit dc37285
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
103 | 105 | | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
107 | | - | |
| 109 | + | |
| 110 | + | |
108 | 111 | | |
109 | 112 | | |
0 commit comments