You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2024. It is now read-only.
Ah wait, I misunderstood something. #46 is not about testing snapshot guarantees. If it was, the proposed tests would be fallacies as they don't assert that a deleted key can still be read by the iterator, just that the next key can be read.
Rather, these tests are specifically for stores that don't support snapshotting. In that case, their iterators must ignore keys that have been deleted in the meantime.
abstract-leveldown/abstract/iterator-test.js
Lines 147 to 169 in 88b8900
iterator-snapshot-test.js
for skippability (closes Snapshot test - do we really need it? #38)db.close
insetUp
tearDown
supersedes Add tests for concurrent delete/iteration #46):put
(overwrite value) beforenext
put
(add new key that sorts first) beforenext
superfluousbatch
(delete key) beforenext
superfluousbatch
(overwrite value) beforenext
superfluousbatch
(add new key that sorts first) beforenext
The text was updated successfully, but these errors were encountered: