mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-01-02 13:23:13 +00:00
Disable recovery persistence for test runs
This commit is contained in:
parent
7eec43e58c
commit
cf99459c1a
@ -247,7 +247,8 @@ pub fn create_executor_config(config: GeneralConfig) -> ExecutorConfig {
|
||||
chain_start_time: config.time_config.chain_start_time,
|
||||
},
|
||||
mempool: MempoolConfig {
|
||||
recovery_path: "./recovery/mempool.json".into(),
|
||||
// Disable mempool recovery for hermetic tests.
|
||||
recovery_path: PathBuf::new(),
|
||||
},
|
||||
sdp: SdpSettings { declaration: None },
|
||||
wallet: WalletServiceSettings {
|
||||
@ -293,7 +294,8 @@ fn build_blend_service_config(
|
||||
let user = blend_serde::Config {
|
||||
common: blend_serde::common::Config {
|
||||
non_ephemeral_signing_key: config.private_key.clone(),
|
||||
recovery_path_prefix: PathBuf::from("./recovery/blend"),
|
||||
// Disable on-disk recovery in tests to avoid serde issues on replays.
|
||||
recovery_path_prefix: PathBuf::new(),
|
||||
},
|
||||
core: blend_serde::core::Config {
|
||||
backend: blend_serde::core::BackendConfig {
|
||||
|
||||
@ -237,7 +237,8 @@ pub fn create_validator_config(config: GeneralConfig) -> ValidatorConfig {
|
||||
chain_start_time: config.time_config.chain_start_time,
|
||||
},
|
||||
mempool: MempoolConfig {
|
||||
recovery_path: "./recovery/mempool.json".into(),
|
||||
// Disable mempool recovery for hermetic tests.
|
||||
recovery_path: PathBuf::new(),
|
||||
},
|
||||
sdp: SdpSettings { declaration: None },
|
||||
wallet: WalletServiceSettings {
|
||||
@ -282,7 +283,8 @@ fn build_blend_service_config(
|
||||
let user = blend_serde::Config {
|
||||
common: blend_serde::common::Config {
|
||||
non_ephemeral_signing_key: config.private_key.clone(),
|
||||
recovery_path_prefix: PathBuf::from("./recovery/blend"),
|
||||
// Disable on-disk recovery in tests to avoid serde issues on replays.
|
||||
recovery_path_prefix: PathBuf::new(),
|
||||
},
|
||||
core: blend_serde::core::Config {
|
||||
backend: blend_serde::core::BackendConfig {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user