Closed tmandke closed 10 years ago
I initially hardcoded this value to three minutes (180 seconds I think), but there are some scenarios where Phantom doesn't receive an error and doesn't begin execution (these are rare, but can happen). I added the timeout so in those cases it will only sit there for 3 minutes before registering it as an error.
It's likely this is to enable longer running tests. I remember adding a todo (https://github.com/modeset/teaspoon/blob/master/lib/teaspoon/drivers/phantomjs/runner.coffee#L8)
So this completes that todo. =)
@tmandke, if you could remove that todo line I'll merge.
:+1:
Can you merge master and force push this branch so I can merge this in?
Hey, this is a follow up.. do you want to merge master so I can merge this nicely?
I'm going to close this and implement something similar. Thanks for the pull request, and sorry I wasn't able to utilize it.
Is the primary purpose of this to help CI bail out of a bad run? Are there other use cases I'm missing?