default some tests to write cache = true (#28917)
This commit is contained in:
parent
efc681b348
commit
20d8b5e98b
|
@ -244,6 +244,7 @@ impl Default for ValidatorConfig {
|
||||||
impl ValidatorConfig {
|
impl ValidatorConfig {
|
||||||
pub fn default_for_test() -> Self {
|
pub fn default_for_test() -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
accounts_db_caching_enabled: true,
|
||||||
enforce_ulimit_nofile: false,
|
enforce_ulimit_nofile: false,
|
||||||
rpc_config: JsonRpcConfig::default_for_test(),
|
rpc_config: JsonRpcConfig::default_for_test(),
|
||||||
..Self::default()
|
..Self::default()
|
||||||
|
|
|
@ -2229,6 +2229,7 @@ fn test_hard_fork_with_gap_in_roots() {
|
||||||
|
|
||||||
let validator_config = ValidatorConfig {
|
let validator_config = ValidatorConfig {
|
||||||
snapshot_config: Some(LocalCluster::create_dummy_load_only_snapshot_config()),
|
snapshot_config: Some(LocalCluster::create_dummy_load_only_snapshot_config()),
|
||||||
|
accounts_db_caching_enabled: true,
|
||||||
..ValidatorConfig::default()
|
..ValidatorConfig::default()
|
||||||
};
|
};
|
||||||
let mut config = ClusterConfig {
|
let mut config = ClusterConfig {
|
||||||
|
|
Loading…
Reference in New Issue