test_verify_snapshot_bank works without write cache (#29075)
This commit is contained in:
parent
c65a8ce6c3
commit
1036d4409b
|
@ -11766,6 +11766,7 @@ pub(crate) mod tests {
|
||||||
)
|
)
|
||||||
.unwrap();
|
.unwrap();
|
||||||
bank.freeze();
|
bank.freeze();
|
||||||
|
add_root_and_flush_write_cache(&bank);
|
||||||
bank.update_accounts_hash_for_tests();
|
bank.update_accounts_hash_for_tests();
|
||||||
assert!(bank.verify_snapshot_bank(true, false, bank.slot()));
|
assert!(bank.verify_snapshot_bank(true, false, bank.slot()));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue