Django LiveServerTestCase with phantomjs intermittent hangs / timeouts Django LiveServerTestCase with phantomjs intermittent hangs / timeouts selenium selenium

Django LiveServerTestCase with phantomjs intermittent hangs / timeouts


To identify the issue and make your tests fail faster, you may want to configure a socket timeout inside your setUpClass / setUp:

import socket...socket.setdefaulttimeout(10)