-
Notifications
You must be signed in to change notification settings - Fork 465
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
fix when consul is used as a name resolution component problem #1668
Conversation
…d cannot achieve load balancing, and the dapr started later will overwrite the previous dapr problem
@@ -501,7 +501,7 @@ func TestGetConfig(t *testing.T) { | |||
assert.Equal(t, 1, len(actual.Registration.Checks)) | |||
check := actual.Registration.Checks[0] | |||
assert.Equal(t, "Dapr Health Status", check.Name) | |||
assert.Equal(t, "daprHealth:test-app", check.CheckID) |
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.
why are you commenting out this test? Please provide a new test for your change instead if this test isn't compatible with your change.
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.
Add or update test please. Don't forget to sign-off on your commit.
Please fix the linter issues. |
Interval: "15s", | ||
HTTP: fmt.Sprintf("http://%s:%s/v1.0/healthz", host, httpPort), | ||
DeregisterCriticalServiceAfter: "10m", |
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.
How was this value chosen?
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.
Should this be configurable? (with a sane default in place)
ping @shiling02404. |
ping @shiling02404 |
Please reference the issue this PR will close:
#1513
#1199