-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve context cancellation handling in PostingsForMatchersCache (#644)
* Improve context cancellation handling in PostingsForMatchersCache Signed-off-by: Marco Pracucci <[email protected]> * Added more comments Signed-off-by: Marco Pracucci <[email protected]> * Move done by an hat in postingsForMatcherPromise Signed-off-by: Marco Pracucci <[email protected]> * Update comment Signed-off-by: Marco Pracucci <[email protected]> * Added TestContextsTracker_Concurrency Signed-off-by: Marco Pracucci <[email protected]> * Improved TestPostingsForMatchersCache Signed-off-by: Marco Pracucci <[email protected]> * Removed addressed TODO comment Signed-off-by: Marco Pracucci <[email protected]> * Fix flaky test Signed-off-by: Marco Pracucci <[email protected]> * Gracefully handle the race condition Signed-off-by: Marco Pracucci <[email protected]> * Remove time.Sleep() from TestPostingsForMatchersCache Signed-off-by: Marco Pracucci <[email protected]> --------- Signed-off-by: Marco Pracucci <[email protected]>
- Loading branch information
Showing
2 changed files
with
731 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.