-
Notifications
You must be signed in to change notification settings - Fork 525
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[sourcemaps] Support multiple fleet addresses when requesting a sourc…
…emap (#5770) * Send request to multiple fleet servers when fetching sourcemap * Handle case when context is canceled before any results are sent to the results channel * Update sourcemap/fleet_store.go Co-authored-by: Andrew Wilkins <[email protected]> * Combine test for single and multiple fleet servers * Use atomic.AddInt32 to increment shared request counter var * Add test for a mix of successful and failed fleet server sourcemap requests * Simplify test for failed and successful fleet hosts fetch * Context should be first argument * Lock setting shared variable in test * Remove unnecessary called var Co-authored-by: Andrew Wilkins <[email protected]> (cherry picked from commit 212f099) # Conflicts: # sourcemap/fleet_store_test.go
- Loading branch information
Showing
4 changed files
with
194 additions
and
23 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
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
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
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