don't limit to thread pool when cleaning on startup (#17317)

This commit is contained in:
Jeff Washington (jwash)
2021-05-20 14:36:35 -05:00
committed by GitHub
parent dd13a31a5a
commit 0486df02ba
9 changed files with 78 additions and 70 deletions

View File

@@ -1297,7 +1297,7 @@ mod tests {
bank.force_flush_accounts_cache();
// do clean and assert that it actually did its job
assert_eq!(3, bank.get_snapshot_storages().len());
bank.clean_accounts(false);
bank.clean_accounts(false, false);
assert_eq!(2, bank.get_snapshot_storages().len());
});
}