Skip to content
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

Handle stop request with already zero users #159

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

NelsonVides
Copy link
Collaborator

@NelsonVides NelsonVides commented Dec 1, 2023

Handle case where users already reached zero and there are no users to terminate on stop request. This can happen when the users die very fast for example, and therefore the count never really grows above zero. It can also happen if the test was left running for long enough for all the users to have finished their jobs.

Note that the controller has no tests on its own and therefore none are added here, actual tests want to be added later in a special PR.

Handle case where users already reached zero
and there are no users to terminate on stop request
@NelsonVides NelsonVides changed the base branch from telemetry_curation to master December 1, 2023 13:41
@NelsonVides NelsonVides closed this Dec 1, 2023
@NelsonVides NelsonVides reopened this Dec 1, 2023
Copy link
Contributor

@arcusfelis arcusfelis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird case but ok

@arcusfelis arcusfelis merged commit b4dd816 into master Dec 1, 2023
4 checks passed
@arcusfelis arcusfelis deleted the controller/deal_with_users_dying_too_fast branch December 1, 2023 14:13
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.

None yet

2 participants