Expand description
An in-memory provider, fault injection and the shared provider conformance suite.
Structs§
- Conformance
- Run identical object, range, prefix and immutable-create checks on any provider. The caller supplies the capability at construction, like production composition.
- Faults
- Faults applied to the next calls, including accepted parts with lost replies.
- Garble
- Faults on the way to the device that change one byte of a response.
- Memory
Provider - In-memory native calls used beneath the shared storage connection.
- Memory
Storage Builder - Shared storage fixture choices; production providers do not use these defaults.
- Refused
Refresh - Custody for tokens installed directly on a fake connection: a rejection
cannot be refreshed and reaches the caller as
Authentication. - Request
Watch - Hears each request this provider’s connections attempt, counted from the
first, failed ones included (
MemoryStorage::subscribe_requests). - Unrestricted
Publications - Authority for raw provider fixtures, which seed objects without a sync owner.
Enums§
- Body
Failure - Failures after response metadata has arrived.
- Memory
Request - Each attempted native call in the in-memory provider, before fault injection. This provider has one page per listing and no implicit metadata lookups.
Constants§
- DETECTED_
S3_ SETTINGS - What memory’s detection reports where the location needs detection.
- DEVICE
- The device a test connection writes for, unless a test names another.
- STORE_
ID - The store shared by the deterministic storage and format fixtures.
Functions§
- admitted_
part - Admit
bytesassession’s next part as a connection does with no cooldown live and every destination open, for a fakeStorageof a test: the part must fit the session, and a plan’s first part marks it. - conforming_
detection - A detection whose every observation agrees with these settings.
Type Aliases§
- Memory
Storage - Clones share a provider’s durable objects and sessions across simulated crashes.
Publication is timestamped by the injected clock and retains the upload’s
identity after pending parts are discarded.
Faultscan lose part/completion replies or expire pending sessions without losing published objects.