Protractor hangs with (n) instances of webdriver still running
Shutting down selenium standalone server. [launcher] 1 instance(s) of WebDriver still running Shutting down selenium standalone server. [launcher] 1 instance(s) of WebDriver still running
This sat on our Jenkins slave for 11 hours (overnight). You can clearly see where it indicates it there is one instance, it is "Shutting down..." but then there is still one instance.
Thoughts on how I can fix this so I can utilize the excellent sharding feature?
Thanks spikey, for assisting on this.
i have few questions from other timeouts you mean? allScriptsTimeout: , getPageTimeout: and defaultTimeoutInterval:
i would like to understand what you mean by?
the process running grunt
yes i mean allscriptsTimeout and defaultTimeoutInterval. We run grunt on windows by starting a process (.net) and this allows for a process timeout which was timing out before the tests completed, so however you run grunt, just make sure that you don't have any timeout is all i am saying.
Alright, so it seems like timeout can be one of the factors to it. the only observation i can make about timeouts is that on the CI Jenkins environment, the suites run quicker as compared to on my machine. does that mean i should be reducing allscriptsTimeout and defaultTimeoutInterval. its like if suite 1 finishes in 500 second on my machine, it finishes in 300 in CI.
trying to play around with both times on my CI box, but cudnt work through yet...
no success still with the settings, i somehow think its the same issue as reported with Chrome having issues with xvfb settings on Linux. i am not sure how to use the tullman's scripts with grunt. (from another thread" https://github.com/angular/protractor/issues/2419
Seems like running chrome headless doesn't hang, Id recommend running headless anyway.