-
Notifications
You must be signed in to change notification settings - Fork 117
[feat] Allow tests to timeout if their associated job is pending for too long #1099
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
Conversation
|
Hello @rsarm, Thank you for updating! Cheers! There are no PEP8 issues in this Pull Request!Do see the ReFrame Coding Style Guide Comment last updated at 2020-03-12 11:03:42 UTC |
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please (a) fix the unit tests and (b) this feature should implemented for all the scheduler backends, except the local one.
Codecov Report
@@ Coverage Diff @@
## master #1099 +/- ##
==========================================
- Coverage 92.07% 91.92% -0.16%
==========================================
Files 84 84
Lines 12171 12209 +38
==========================================
+ Hits 11207 11223 +16
- Misses 964 986 +22
Continue to review full report at Codecov.
|
|
You don't have unittests that test this for slurm/pbs but I am not sure how you could test it. Maybe you could give a very low |
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should definitely have some sort of unit tests as well. The PBS implementation is broken this is not caught.
ekouts
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have just a minor comment.
|
@rsarm I am going to fix this PR now. |
Also: - Enable max_pending_time unit test for the Torque backend.
vkarak
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm now. Only thing to be determined is whether to treat this timeout as an error or not.
Closes #881