Fix another unstable test after eager rent (#10120)

This commit is contained in:
Tyera Eulberg 2020-05-20 09:57:33 -06:00 committed by GitHub
parent ad7b113944
commit 9d89fb5c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -5814,6 +5814,7 @@ mod tests {
fn test_bank_get_program_accounts() {
let (genesis_config, mint_keypair) = create_genesis_config(500);
let parent = Arc::new(Bank::new(&genesis_config));
parent.lazy_rent_collection.store(true, Ordering::Relaxed);
let genesis_accounts: Vec<_> = parent.get_program_accounts(None);
assert!(