Fix | Change s_enclaveProviders to ConcurrentDictionary#1451
Fix | Change s_enclaveProviders to ConcurrentDictionary#1451DavoudEshtehari merged 1 commit intodotnet:mainfrom johnnypham:threadsafeGetEnclaveProvider
Conversation
|
Could you include a test? |
Any suggestions on how to consistently force concurrent access to |
|
My suggestion here is to provide the race condition by sending parallel requests to |
Again, that doesn't consistently force concurrent access. I think the use case for a test should be reproducible on every run. I don't mind adding it but it wouldn't add any value imo. Essentially the test would just be verifying whether a ConcurrentDictionary is actually thread-safe. |
|
In this case it could be a candidate for stress testing. |
Fixes #1444