Closed lukeis closed 8 years ago
This looks like the stream handling problem of ProcessBuilder. Has been proposed fixed
by switching to commons-exec
Reported by kristian.rosenvold@zenior.no
on 2011-10-27 14:27:47
Are you sure you're terminating the browser sessions before trying to close the server
? Make sure the browser windows are closed by calling either selenium.stop() or webDriver.quit()
from the tests before you try to close the server. Does this help ?
Reported by kristian.rosenvold
on 2011-10-27 16:03:09
I am not closing the windows before SeleniumServer.stop(). But I used to to close the
browser window, when a test failed. This led to a lockup too, so I think this would
not solve the problem.
What I forgot to mention: If I close the last browser window by hand, the tests successfully
finish.
Reported by markus@markusheiden.de
on 2011-10-27 17:03:33
You should close the window using either selenium.stop or webDriver.quit. The selenium
server /requires/ proper termination of sessions. So technically you are running into
the ProcessBuilder problem, but it is only because your tests are not properly written.
We will be fixing the ProcessBuilder problem, but this is not to support this use-case
in specific. I do not know what other problems you were experiencing, to my best knowledge
all supported versions of firefox work well in parallel.
Whatever lockup you are experiencing if you actually properly terminate the sessions
is more interesting.
I will leave this issue as "NeedsClarification" for a few days, but will close this
as invalid unless you want to submit additional details about hanging when writing
the tests correctly. If you feel that there is incomplete documentation somewhere regarding
proper termination of the sessions, please include a link to the documentation in question
and we will update it.
Reported by kristian.rosenvold
on 2011-10-27 18:40:28
NeedsClarification
I'll will fix the code and retry tomorrow. But as I mentioned already, I got problems
with selenium.stop() too.
Reported by markus@markusheiden.de
on 2011-10-27 20:24:15
Reported by barancev
on 2011-10-28 16:31:11
I am now closing all Selenium instances before stopping the server and now it works.
Reported by markus@markusheiden.de
on 2011-11-01 13:05:04
Documentation page for server updated to stress the importance of properly terminating
sessions. Marked issue as invalid.
Reported by kristian.rosenvold
on 2011-11-01 13:22:14
Invalid
Reported by luke.semerau
on 2015-09-17 18:13:59
Originally reported on Google Code with ID 2724
Reported by
markus@markusheiden.de
on 2011-10-27 09:41:59