async fn create_snapshot<'a, F>(
snapshot_dir: PathBuf,
decoders: ModuleDecoderRegistry,
is_isolated: bool,
prepare_fn: F,
) -> Result<()>
Expand description
Creates a backup database in the snapshot_dir
according to the
FM_PREPARE_DB_MIGRATION_SNAPSHOTS
, since we do not want to re-create a
backup database every time we run the tests.