Skip to content

Commit

Permalink
Ignores errors when joining background threads in snapshot tests (sol…
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Oct 19, 2022
1 parent 5aca7df commit 12f3e8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions core/tests/snapshots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

0 comments on commit 12f3e8c

Please sign in to comment.