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

Implemented test for issue UnsupportedOperationException when calling schedulerapi.killTask #2749 #2781

Merged
merged 1 commit into from Feb 7, 2017

Conversation

fviale
Copy link
Member

@fviale fviale commented Feb 6, 2017

No description provided.

@fviale fviale added this to the 7.24.0 milestone Feb 6, 2017
@fviale fviale self-assigned this Feb 6, 2017

TaskInfo startedTask = listener.getStartedTask();
while (!startedTask.getJobId().value().equals(jobId.value())) {
startedTask = listener.getStartedTask();
Copy link
Contributor

Choose a reason for hiding this comment

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

can you explain a little about this variable (startedTask)? i dont see it is used after in this test

Copy link
Member Author

Choose a reason for hiding this comment

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

startedTask is a TaskInfo object, used in the loop to check that the task started corresponds to the job which was submitted.

Basically the loop goes on until the task we want to kill is started

Copy link
Contributor

Choose a reason for hiding this comment

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

ok, understood ! thx

@fviale fviale merged commit 26a14fa into ow2-proactive:master Feb 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants