-
Notifications
You must be signed in to change notification settings - Fork 107
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
Make lsf driver submit signal invalid instead of abort #6193
Make lsf driver submit signal invalid instead of abort #6193
Conversation
38dc905
to
eab7ab6
Compare
@@ -28,31 +28,19 @@ void test_OK() { | |||
|
|||
void test_file_does_not_exist() { | |||
test_assert_int_equal(lsf_job_parse_bsub_stdout("bsub", "does/not/exist"), | |||
0); | |||
-1); | |||
} | |||
|
|||
void parse_invalid(void *arg) { |
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.
This function can be deleted as well.
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.
done
@@ -71,13 +103,15 @@ def test_submit_attempt_is_initinally_zero(job_queue_node): | |||
def test_when_submit_command_returns_invalid_output_then_submit_fails( |
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.
there is a typo on line 97 (initinally), fly-by-fix?
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.
Fixed!
73776d2
to
a2d53fc
Compare
Codecov Report
@@ Coverage Diff @@
## main #6193 +/- ##
==========================================
+ Coverage 82.64% 82.66% +0.02%
==========================================
Files 347 347
Lines 21249 21248 -1
Branches 834 833 -1
==========================================
+ Hits 17561 17565 +4
+ Misses 3390 3385 -5
Partials 298 298
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
cute fifo!
a2d53fc
to
9a937d4
Compare
Fixes an issue where lsf driver submit fail would inconsistently abort instead of signal failure.
Pre review checklist
Ground Rules),
and changes to existing code have good test coverage.
Pre merge checklist