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

Race-condition during browser timeout #88

Closed
IgorMinar opened this issue Oct 7, 2012 · 0 comments
Closed

Race-condition during browser timeout #88

IgorMinar opened this issue Oct 7, 2012 · 0 comments
Milestone

Comments

@IgorMinar
Copy link
Contributor

based on http://ci.angularjs.org/job/angular.js-igor-testacular/584/console

this is my interpretation of what happened:

If a browser launched by Testacular is taking a long time to start and a startup timeout is reached, Testacular will kill it. If however, between the kill command is issued and the browser is actually killed the browser connects, Testacular will hang.

  • T starts
  • T launches a browser B
  • B is taking a long time to start and doesn't get captured before startup time is reached
  • T issues a process kill command (kill might not be immediate - e.g. when relayed via a shell script like we do with ie.sh)
  • B gets finally captured
  • B gets finally killed by the kill command
  • T sees that browser disconnect and process exit and it then just waits and waits
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

1 participant