* Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
(ChromiumDriverTest.setUp):
(ChromiumDriverTest.test_two_drivers):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@111662
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-03-22 Philippe Normand <pnormand@igalia.com>
+
+ Unreviewed, test-webkitpy fix after r111642.
+
+ * Scripts/webkitpy/layout_tests/port/chromium_unittest.py:
+ (ChromiumDriverTest.setUp):
+ (ChromiumDriverTest.test_two_drivers):
+
2012-03-22 Csaba Osztrogonác <ossy@webkit.org>
webkitpy: clean up actually getting crash logs from DRT/WTR crashes
class ChromiumDriverTest(unittest.TestCase):
def setUp(self):
mock_port = Mock() # FIXME: This should use a tighter mock.
+ mock_port.default_test_timeout_ms = lambda: 1000
self.driver = chromium.ChromiumDriver(mock_port, worker_number=0, pixel_tests=True)
def test_test_shell_command(self):
# get_option is used to get the timeout (ms) for a process before we kill it.
mock_port.get_option = lambda name: 60 * 1000
+ mock_port.default_test_timeout_ms = lambda: 1000
driver1 = MockDriver()
driver1._start(False, [])
driver2 = MockDriver()