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

If tests are killed, no failure is visible #86

Open
hakanai opened this issue Jan 21, 2013 · 2 comments
Open

If tests are killed, no failure is visible #86

hakanai opened this issue Jan 21, 2013 · 2 comments

Comments

@hakanai
Copy link

hakanai commented Jan 21, 2013

With the JUnit reporter, if the tests are killed externally (e.g. if they take too long to run), one of the XML files will have length 0 and Jenkins will fail to parse it. This then shows up as a test failure on Jenkins.

With CI::Reporter, if the tests are killed externally, they just exit and no XML file is written at all. This shows up as a successful build.

Granted, the return code is non-zero, but it seems like a hack for me to create a zero-length XML file on the event of a non-zero return code, just to trick Jenkins.

@shepmaster
Copy link
Member

We are in the process of cleaning out old issues. If this issue still
applies to this version, please let us know, otherwise we're going to
close this issue to focus on current problems. Thanks for your report!

@hakanai
Copy link
Author

hakanai commented Jun 12, 2014

This still does happen, even since we switched to RSpec. You can verify it by making a spec which just calls sleep(6000) and then kill -9 the process while the test is running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants