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

don't invent running states if the module is not yet running #240

Merged
merged 2 commits into from Mar 10, 2015

Conversation

coolo
Copy link
Contributor

@coolo coolo commented Mar 10, 2015

No description provided.

@@ -302,7 +308,7 @@ sub read_json_file {
my $fn = "$pooldir/testresults/$name";
my $ret;
local $/;
open(my $fh, '<', $fn) or return undef;
open(my $fh, '<', $fn) or die "can't open $fn: $!";
Copy link
Contributor

Choose a reason for hiding this comment

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

Won't this potentially trigger dead workers when i.e. canceling job before isotovideo fully initialize? Are all json files guaranteed to be present to warrant this death order?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

you're right. I changed it to a warn

Copy link
Contributor Author

Choose a reason for hiding this comment

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

coolo added a commit that referenced this pull request Mar 10, 2015
don't invent running states if the module is not yet running
@coolo coolo merged commit 4f463c4 into master Mar 10, 2015
@coolo coolo deleted the issue_6618 branch March 10, 2015 14:00
@coveralls
Copy link

Coverage Status

Coverage increased (+1.83%) to 65.06% when pulling 8d1d253 on issue_6618 into 7a7b192 on master.

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.

None yet

3 participants