Ignores errors when joining background threads in snapshot tests (#28480)

This commit is contained in:
Brooks Prumo 2022-10-19 16:54:59 -04:00 committed by GitHub
parent 5aca7df232
commit 12f3e8c9cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1113,10 +1113,10 @@ fn test_snapshots_with_background_services(
.as_ref()
);
// Stop the background services
// Stop the background services, ignore any errors
info!("Shutting down background services...");
exit.store(true, Ordering::Relaxed);
accounts_background_service.join().unwrap();
accounts_hash_verifier.join().unwrap();
snapshot_packager_service.join().unwrap();
_ = accounts_background_service.join();
_ = accounts_hash_verifier.join();
_ = snapshot_packager_service.join();
}