-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add tests for enhanced routing control (#143)
* fix: remove a TODO * fix: field alignment * fix: field alignment * fix: readability * fix: update `README.md` * feat: initial implementation of `AlwaysRouteRoutingStrategy` * fix: comment formatting * fix: comment phrasing * fix: add a TODO * fix: renaming * fix: revert to the previous version of `PriorityRoundRobinStrategy` * fix: remove `HealthStatus` field * feat: LatencyChecker can now be configured to only check latency, errors, or both * feat: create separate instances of LatencyChecker for error and latency checking * feat: plumbing for `AlwaysRouteFilteringStrategy` * fix: tests * fix: removable filters * feat: add debug logging * fix: move `getFilterTypeName` function to `node_filter` module * refactor: deduplicate filter upstreams code * refactor: remove passive error/latency checker code * refactor: split error latency checker into two structs * fix: error and latency filters are now passed to regular filtering routing strategy * fix: typo * style: remove unused global variable * test: add test * refactor: test * refactor: test * refactor: add test * test: add test * test: add high latency test * refactor: routing config struct * test: add latency test with always route * test: add error rate test with always route
- Loading branch information
Showing
5 changed files
with
333 additions
and
53 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
Oops, something went wrong.