Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix TestCCCache_RefreshOnCacheMiss flaky tests (#15397)
* fix refreshOnCacheMiss flaky tests by refactoring getResource logic to use one lock per resource_guid * improve performance by using RWMutex * reset updateOnce channel in the cccache_test file * refactor readData method to use listApplications method * refactor readData to use listSpaces method * refactor readData to use listOrgs method * refactor readData to use listOrgQuotas method * refactor readData to use listProcesses method * refactor readData to use listIsolationSegments method * refactor readData to use prepareCFApplications method * reorder methods * make all comments lowercase * cleanup and add comments * remove TODO comment * add getLockForResource method + cleanup and comments * rename locksByResourceGUID to locksByGUID
- Loading branch information