-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Add exception to requireCanaryStableServices
to disable validation when using the hashicorp/consul
plugin
#3339
Conversation
Go Published Test Results2 124 tests 2 124 ✅ 2m 50s ⏱️ Results for commit 74cf023. ♻️ This comment has been updated with latest results. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #3339 +/- ##
==========================================
+ Coverage 81.83% 82.86% +1.02%
==========================================
Files 135 135
Lines 20688 16845 -3843
==========================================
- Hits 16931 13959 -2972
+ Misses 2883 2012 -871
Partials 874 874 ☔ View full report in Codecov by Sentry. |
E2E Tests Published Test Results 4 files 4 suites 3h 31m 5s ⏱️ For more details on these failures, see this check. Results for commit 74cf023. ♻️ This comment has been updated with latest results. |
requireCanaryStableServices
to disable validation when using the hashicorp/consul
pluginrequireCanaryStableServices
to disable validation when using the hashicorp/consul
plugin
28a3cbe
to
d0287fd
Compare
25eee48
to
647ca89
Compare
Hi @zachaller friendly nudge, if you're able to review this PR for Consul Service Mesh. |
@@ -129,6 +129,80 @@ func TestValidateRolloutStrategyBlueGreen(t *testing.T) { | |||
assert.Equal(t, ScaleDownLimitLargerThanRevisionLimit, allErrs[1].Detail) | |||
} | |||
|
|||
func TestValidateRolloutStrategyCanaryMissingServiceNames(t *testing.T) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add a few test that use two traffic routers one where both are required to have canary service and one where it one requires it and one does not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some test cases with multiple routers where one requires the canary services and one or more do not to ensure they error as expected.
…when using the `hashicorp/consul` plugin Co-authored-by: Ashwin Venkatesh <[email protected]> Signed-off-by: Michael Wilkerson <[email protected]>
Co-authored-by: Ashwin Venkatesh <[email protected]> Signed-off-by: Michael Wilkerson <[email protected]>
- added test cases for exceptions to requiring checks for Canary/Stable services - added test cases for verifying errors when Canary/Stable services are missing Co-authored-by: Ashwin Venkatesh <[email protected]> Signed-off-by: Michael Wilkerson <[email protected]>
647ca89
to
06a85d1
Compare
Co-authored-by: Ashwin Venkatesh <[email protected]> Signed-off-by: Michael Wilkerson <[email protected]>
59571fb
to
36c169b
Compare
- added test cases for exceptions to requiring checks for Canary/Stable services - added test cases for verifying errors when Canary/Stable services are missing Co-authored-by: Ashwin Venkatesh <[email protected]> Signed-off-by: Michael Wilkerson <[email protected]>
Quality Gate passedIssues Measures |
Thanks so much for helping with this PR @zachaller |
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.