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

[RFR] Task manager enable premeption #1220

Merged
merged 5 commits into from
Sep 17, 2024
Merged

Conversation

sshveta
Copy link
Collaborator

@sshveta sshveta commented Sep 11, 2024

image

Signed-off-by: Shveta Sachdeva <[email protected]>
Copy link
Contributor

@mguetta1 mguetta1 left a comment

Choose a reason for hiding this comment

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

Left a minor comment. LGTM

Comment on lines +99 to +104
if (
status == TaskStatus.pending ||
status == TaskStatus.running ||
status == TaskStatus.ready ||
status == TaskStatus.postponed
) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to check if not succeeded or failed

cy.get(actionMenuItem).contains(setPreemption).click();
}

public static cancelTask(status: string): void {
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice solution

@mguetta1
Copy link
Contributor

Hi @sshveta
I just noticed that Jenkins pr-tester fails on this new test

@sshveta sshveta merged commit c1a615f into konveyor:main Sep 17, 2024
8 of 9 checks passed
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.

2 participants