pub fn open_test_db_with_hlc(
store_dir: StoreDir,
hlc: Arc<Hlc>,
seed: impl for<'connection> Fn(&MigrationContext<'connection>) -> Result<(), DbError> + Send + Sync + 'static,
) -> DatabaseExpand description
The synthetic store’s schema and Database constructors, which the database
layer owns and its own tests open directly.
Open a test Database over the synthetic schema with a caller-supplied
register clock (so a test can control the wall clock), plus an extra seed
step run after the host schema is created to plant host rows before
Database::open reads its floor.
Used only by the register-clock tests (hlc_register_tests).