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

waitUntilDone returns non done status when timeout is exceeded #657

Open
sverhoeven opened this issue Aug 12, 2019 · 0 comments
Open

waitUntilDone returns non done status when timeout is exceeded #657

sverhoeven opened this issue Aug 12, 2019 · 0 comments

Comments

@sverhoeven
Copy link
Member

When job takes longer than 5 seconds calling scheduler.waitUntilDone(jobId, 5000) will result in a status object which is not yet done (status.isDone() == false).
I did not expect this, I expected waitUntilDone to either return a done status or a TimeoutException.

Same goes for the waintUntilRunning method, it also returns a non running status when timeout is exceeded.

All schedulers which use the waitUntil* implementation in nl.esciencecenter.xenon.adaptors.schedulersScriptingScheduler have this problem.

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

No branches or pull requests

1 participant