mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-07 08:52:54 +00:00
Remove timeout locks (#6048)
* Remove locks with timeouts * Readd test * Update docs * Merge remote-tracking branch 'origin/unstable' into pk-cache-timeout
This commit is contained in:
@@ -159,19 +159,11 @@ fn max_skip_slots_flag() {
|
||||
.with_config(|config| assert_eq!(config.chain.import_max_skip_slots, Some(10)));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn enable_lock_timeouts_default() {
|
||||
CommandLineTest::new()
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| assert!(config.chain.enable_lock_timeouts));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn disable_lock_timeouts_flag() {
|
||||
CommandLineTest::new()
|
||||
.flag("disable-lock-timeouts", None)
|
||||
.run_with_zero_port()
|
||||
.with_config(|config| assert!(!config.chain.enable_lock_timeouts));
|
||||
.run_with_zero_port();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user