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

Fail testing when test-run fails internally #161

Merged
merged 1 commit into from
Apr 30, 2019

Conversation

Totktonada
Copy link
Member

This commit handles the case when test-run found that some of scheduled
tasks were not reported as finished by workers. The old behaviour leads
to zero exit code in the case when --force option is not set (looks as
the unintended mistake).

Now this situation causes a testing fail (non-zero exit code) and it
does not matter whether --force option is set.

Show list of failed tasks always except the case when it is caused by a
keyboard interruption.

While we are here clarified and changed related test-run messages.

All that is about the situation that should never occur. See #115 for
such cases.

This commit handles the case when test-run found that some of scheduled
tasks were not reported as finished by workers. The old behaviour leads
to zero exit code in the case when --force option is not set (looks as
the unintended mistake).

Now this situation causes a testing fail (non-zero exit code) and it
does not matter whether --force option is set.

Show list of failed tasks always except the case when it is caused by a
keyboard interruption.

While we are here clarified and changed related test-run messages.

All that is about the situation that should never occur. See #115 for
such cases.
@Totktonada Totktonada added the bug Something isn't working label Apr 17, 2019
@Totktonada Totktonada requested a review from avtikhon April 17, 2019 02:14
@Totktonada Totktonada self-assigned this Apr 17, 2019
@Totktonada Totktonada merged commit d8abc03 into master Apr 30, 2019
@Totktonada Totktonada deleted the Totktonada/fail-testing-when-test-run-fails branch April 30, 2019 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant