From fa184df2a6ae1f1719c62c8ae3664cc1cb246f9d Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Thu, 7 Jul 2016 16:27:52 +0000 Subject: [PATCH] Added an explicit PhantomJS(port=0) as a workaround for old phantomjs instances staying around and blocking the port needed to run tests. - Legacy-Id: 11546 --- ietf/meeting/tests_js.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/meeting/tests_js.py b/ietf/meeting/tests_js.py index 0e1b7221e..5714b2dab 100644 --- a/ietf/meeting/tests_js.py +++ b/ietf/meeting/tests_js.py @@ -46,7 +46,7 @@ class ScheduleEditTests(StaticLiveServerTestCase): def setUp(self): set_coverage_checking(False) condition_data() - self.driver = webdriver.PhantomJS(service_log_path=settings.TEST_GHOSTDRIVER_LOG_PATH) + self.driver = webdriver.PhantomJS(port=0, service_log_path=settings.TEST_GHOSTDRIVER_LOG_PATH) self.driver.set_window_size(1024,768) def tearDown(self):