Skip to main content

Module fake

Module fake 

Source
Expand description

In-memory fake backends for the txn-kernel harness (catalog harness = "fake").

One FakeWorld is shared by every FakeHost, the same way the daemon and the watchdog share one machine. Fencing reads the epochs in the shared MemStore, as real backends read the journal’s. Every mutating call is logged, so tests can assert that calls never overlap and that stale owners were refused.

Structs§

CallLog
FakeHost
FakeJob
World