Closed grahame closed 9 years ago
looks like a duplicate of #2 I should probably fix this (sorry to be slow, the use case I created this for doesn't use karma anymore)
As commented in #2, please test the changes in your setup. Fixed on my machine, but I want to have more data points before a version bump. Thanks!
per #2 I bumped the version, I'm fairly confident npm update
will fix the issue
Sorry, not working - I've tested against the next version, and roughly the same output:
Firefox 36.0.0 (Ubuntu): Executed 26 of 26 SUCCESS (0.026 secs / 0.084 secs)
firefox_1 | 04:12:32.249 INFO - Session d2bb33a2-2434-4b6a-b6a8-5a1c2164bd5e deleted due to client timeout
karma_1 | WARN [Firefox 36.0.0 (Ubuntu)]: Disconnected (1 times)
seleniumhub_1 | 04:12:33.056 WARN - session ext. key d2bb33a2-2434-4b6a-b6a8-5a1c2164bd5e has TIMED OUT due to client inactivity and will be released.
seleniumhub_1 | 04:12:33.081 WARN - Error releasing the resources on timeout for session ext. key d2bb33a2-2434-4b6a-b6a8-5a1c2164bd5e
I did put a logger.info into both isCaptured and self.kill and neither is called that I can see. Could it be the way I'm constructing the instance to point it at the hub?
Thanks for the help! If there's any way you can point me to better debug this let me know.
I've moved away from using selenium, and have shifted to running karma in its own docker container against firefox/Xvfb (https://github.com/muccg/docker-karma), so no worries about this ticket - the problem is likely the way I'm creating firefox. Thanks very much for the help.
Hey
With this config snippet:
... I'm running karma against a selenium hub (I have to construct driver this way to pass the URL for the hub.)
Everything works fine and then this happens (logs from running under fig/docker)
it looks like karma never shuts down - and when I kill it I get: karma_1 | INFO [launcher.selenium-webdriver]: requested to kill, session id is 0d99f024-9dcb-4d9e-9dec-2ec0bdd4eeb8
... but it doesn't go. so I think it's stuck in the code from this project? Not sure where to go next to fix this problem in webdriver-launcher, any suggestions would be wonderful.