Skip to content

Refactor namespace scheduler queueing behavior for testability #587

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

Merged
merged 1 commit into from
Mar 1, 2022

Conversation

marun
Copy link
Contributor

@marun marun commented Mar 1, 2022

This refactor separates the decision of how to respond to a cluster event in the namespace scheduler from how that decision is implemented. This allows for unit testing of the decision-making.

This PR also ensures that when enqueueing scheduled namespaces, only namespaces scheduled to the specific cluster will be enqueued.

@marun marun requested review from ncdc, imjasonh and sttts March 1, 2022 05:12
@marun marun force-pushed the add-queueing-test branch 7 times, most recently from b47e01b to c6d1185 Compare March 1, 2022 07:26
@marun marun force-pushed the add-queueing-test branch from c6d1185 to a17c78b Compare March 1, 2022 07:28
@ncdc ncdc merged commit c531abe into kcp-dev:main Mar 1, 2022
@marun marun deleted the add-queueing-test branch March 16, 2022 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants