-
Notifications
You must be signed in to change notification settings - Fork 262
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
[multikueue] Batch remote workload reconcile events. #2380
[multikueue] Batch remote workload reconcile events. #2380
Conversation
✅ Deploy Preview for kubernetes-sigs-kueue canceled.
|
2010436
to
d2486f7
Compare
d2486f7
to
e902024
Compare
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.
Generally lgtm. I just doubt we benefit from parametrizing it for tests if the batch period is just 1s.
We could just use the constant as in other use-cases: https://github.com/search?q=repo%3Akubernetes-sigs%2Fkueue+constants.UpdatesBatchPeriod&type=code.
@@ -1050,7 +1050,7 @@ func TestWlReconcile(t *testing.T) { | |||
} | |||
|
|||
helper, _ := newMultiKueueStoreHelper(managerClient) | |||
reconciler := newWlReconciler(managerClient, helper, cRec, defaultOrigin, defaultWorkerLostTimeout) | |||
reconciler := newWlReconciler(managerClient, helper, cRec, defaultOrigin, defaultWorkerLostTimeout, time.Second) |
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.
I would be ok not to parametrize it. but if you do, then let's use 100ms to get (slightly) better runtimes.
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.
The value is not relevant in this test.
I'm still in doubt what is the benefit of making it parametrized, but it is non-blocking. |
LGTM label has been added. Git tree hash: 331e310e9102462d919a1261b4fde3bbe2174357
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mimowo, trasc 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 |
…#2380) * [multikueue] Batch remote workload reconcile events. * Review remarks
/release-note-edit
|
…#2380) * [multikueue] Batch remote workload reconcile events. * Review remarks
What type of PR is this?
/kind feature
What this PR does / why we need it:
[multikueue] Batch remote workload reconcile events.
Which issue(s) this PR fixes:
Relates to #693
Special notes for your reviewer:
Does this PR introduce a user-facing change?