Skip to main content

Module test_utils

Module test_utils 

Available on crate feature inspect and (crate features test-utils) only.
Expand description

Conformance checks shared by every Collection storage backend and layer.

Available with the test-utils feature so layers in other crates (such as encryption) can prove they preserve the storage contract.

Functions§

content
Read a whole record into memory, panicking on failure.
exercise
Exercise the storage contract: cancelled appends publish nothing, ranges clamp and reject reversal, concurrent appends stay isolated, a stalled collection does not block another, and readers outlive their store.