Make `objectstore.TestS3SessionSetup()` test less racy
What does this MR do and why?
This MR attempts to improve the objectstore.TestS3SessionSetup()
test by ensuring read attempts against sessionCache.sessions
use the sync.Mutex
to lock and unlock.
Closes: Fix racy `objectstore.TestS3SessionSetup()` tes... (#440937 - closed)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.