Commit efab99b
committed
Fix flaky txn_cleanup_range_async_commit_locks test
txn_cleanup_locks_batch_size intentionally leaves locks behind (it
tests that the before-cleanup-locks failpoint prevents actual cleanup).
After scenario.teardown() disables failpoints, the locks remain in
TiKV and can bleed into subsequent tests that assert exact lock counts.
Add an actual cleanup step after teardown so no stale locks persist.
Made-with: Cursor1 parent 72d7f02 commit efab99b
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
135 | 145 | | |
136 | 146 | | |
137 | 147 | | |
| |||
0 commit comments