-
Notifications
You must be signed in to change notification settings - Fork 32
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
travis-ci timeouts when using --coverage
?
#88
Comments
Cloning your package and running UnitTesting reveals that
With |
@randy3k Not running master, or my output would show the same. I'd already wiped the debug branch I was working on, but I've re-produced the issue for you: Broken/coverage: https://travis-ci.org/abathur/constellation/jobs/364712602 |
@randy3k I saw that you were able to reproduce this CI failure on a fork yesterday. I also noticed that you've bumped versions, so ran the failing build again to see. It still breaks, but the output is a little different, so I thought I'd update you in case it saves a any work:
|
@randy3k I figured this out today. I'm tempted to close because this is mostly my fault, but I'll see what you think since it was a little tricky.
I'm not quite certain from here why the "timeout" messages on travis-ci. I suspect the above errors are just eating critical output and leaving it puzzled. I'm fine with closing this unless you have some ideas about how one platform or the other could detect and message more clearly in this case. |
how about using |
I've got my tests working already; I needed to split methods up along similar lines for entirely different reasons, which is how I noticed what was going on. But yes, the test method could have properly handled yield in a sub-call if I had been paying enough attention. :) |
Though, I did get this other response (emanuelen5/Word-highlighter@1fe8c0e#commitcomment-30289483) from @emanuelen5; it sounds like his case was a simple syntax error. Maybe there's just a broader problem with the coverage script swallowing other messages (perhaps if they don't fit some format?) |
A syntax error like that is always fatal. This is the reason for the timeout. |
Wait, I may have misunderstood the issue, the error was from the test suite....there may be something fishy there. |
I'm not sure if I've stumbled into a real issue, or just fallen into a documentation hole.
I had a bear of a time getting travis-ci set up this time. When I use
run_tests --coverage
, I get a timeout waiting for ST3 to respond. When I userun_tests
without coverage, they run fine. The raw logs for both runs show the bootstrap installing sublime-coverage:Here's an example of the time-out/coverage run:
Here's an example of one succeeding without:
The text was updated successfully, but these errors were encountered: