mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 22:04:44 +00:00
Check key cache consistency in tests
This commit is contained in:
@@ -307,6 +307,8 @@ pub mod tests {
|
||||
let result = run(self.import_config.clone()).await;
|
||||
|
||||
if result.is_ok() {
|
||||
self.vc.ensure_key_cache_consistency().await;
|
||||
|
||||
let local_validators: Vec<ValidatorSpecification> = {
|
||||
let contents =
|
||||
fs::read_to_string(&self.import_config.validators_file_path).unwrap();
|
||||
|
||||
@@ -754,6 +754,9 @@ mod test {
|
||||
let src_vc_final_keystores = src_vc_client.get_keystores().await.unwrap().data;
|
||||
let dest_vc_final_keystores = dest_vc_client.get_keystores().await.unwrap().data;
|
||||
|
||||
src_vc.ensure_key_cache_consistency().await;
|
||||
dest_vc.ensure_key_cache_consistency().await;
|
||||
|
||||
match validators {
|
||||
Validators::All => {
|
||||
assert!(
|
||||
|
||||
Reference in New Issue
Block a user