-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
storage: etcd: clarify lease manager configurations #108214
storage: etcd: clarify lease manager configurations #108214
Conversation
When the original commit created the lease manager, this comment was added to set the default test reuse time to 1s. Even at that time, the comment claimed it was setting 10s. Instead of using this value, though, new tests that did not call `testSetup()` started to use the default configuration for production. This commit clarifies the intent of this comment, moves it next to the code block that it actually applies to, and makes use of this test-specific logic everywhere. x-ref: f230b000db5798397d620c141babeafebd31a64b Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
/test pull-kubernetes-e2e-kind-ipv6 |
cc @wenjiaswe |
@smarterclayton @jpbetz @wenjiaswe would any of you be available to review this? |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: smarterclayton, stevekuznetsov The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
When the original commit created the lease manager, this comment was
added to set the default test reuse time to 1s. Even at that time, the
comment claimed it was setting 10s. Instead of using this value, though,
new tests that did not call
testSetup()
started to use the defaultconfiguration for production. This commit clarifies the intent of this
comment, moves it next to the code block that it actually applies to,
and makes use of this test-specific logic everywhere.
x-ref: f230b000db5798397d620c141babeafebd31a64b
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
/kind cleanup
/sig api-machinery
/cc @deads2k @liggitt @sttts