Broken Pipe Error While Running Django-test With Selenium
while running django tests with selenium (no remote, no xvfb), I always get the following exception: Creating test database for alias 'default'... Traceback (most recent call last
Solution 1:
Make sure that the browser requesting the page is waiting for the response.
If i remember correctly there is the selenium_client.implicitly_wait(sec)
and selenium_client.set_page_load_timeout(sec)
commands for that, make sure you are using it.
If not the server will try to write to a pipe that is broken because the browser close the connection before the response was sent.
Post a Comment for "Broken Pipe Error While Running Django-test With Selenium"