Changeset 139088 in webkit


Ignore:
Timestamp:
Jan 8, 2013, 11:35:54 AM (12 years ago)
Author:
zandobersek@gmail.com
Message:

[GTK] Lower the default timeout value for WebKitTestRunner
https://bugs.webkit.org/show_bug.cgi?id=106353

Reviewed by Dirk Pranke.

The default timeout value for WebKitTestRunner should be lowered.
The current value (80 seconds) is irrational and just leads to producing
text failures for layout tests that genuinely time out. This just leads
to more deviation from the GTK WK1 port in terms of test expectations.

The value used is the same as when running the DumpRenderTree, that's
6 seconds in release builds and 12 seconds in debug builds.

  • Scripts/webkitpy/layout_tests/port/gtk.py:
  • Scripts/webkitpy/layout_tests/port/gtk_unittest.py:

(GtkPortTest.test_default_timeout_ms):

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r139084 r139088  
     12013-01-08  Zan Dobersek  <zandobersek@gmail.com>
     2
     3        [GTK] Lower the default timeout value for WebKitTestRunner
     4        https://bugs.webkit.org/show_bug.cgi?id=106353
     5
     6        Reviewed by Dirk Pranke.
     7
     8        The default timeout value for WebKitTestRunner should be lowered.
     9        The current value (80 seconds) is irrational and just leads to producing
     10        text failures for layout tests that genuinely time out. This just leads
     11        to more deviation from the GTK WK1 port in terms of test expectations.
     12
     13        The value used is the same as when running the DumpRenderTree, that's
     14        6 seconds in release builds and 12 seconds in debug builds.
     15
     16        * Scripts/webkitpy/layout_tests/port/gtk.py:
     17        * Scripts/webkitpy/layout_tests/port/gtk_unittest.py:
     18        (GtkPortTest.test_default_timeout_ms):
     19
    1202013-01-08  Zan Dobersek  <zandobersek@gmail.com>
    221
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk.py

    r138382 r139088  
    4949
    5050    def default_timeout_ms(self):
    51         # For now, use the base Port's default timeout value in case of WebKitTestRunner.
    52         if self.get_option('webkit_test_runner'):
    53             return super(GtkPort, self).default_timeout_ms()
    54 
    5551        if self.get_option('configuration') == 'Debug':
    5652            return 12 * 1000
  • trunk/Tools/Scripts/webkitpy/layout_tests/port/gtk_unittest.py

    r139084 r139088  
    6767        self.assertEqual(self.make_port(options=MockOptions(configuration='Release')).default_timeout_ms(), 6000)
    6868        self.assertEqual(self.make_port(options=MockOptions(configuration='Debug')).default_timeout_ms(), 12000)
    69         self.assertEqual(self.make_port(options=MockOptions(webkit_test_runner=True, configuration='Debug')).default_timeout_ms(), 80000)
    70         self.assertEqual(self.make_port(options=MockOptions(webkit_test_runner=True, configuration='Release')).default_timeout_ms(), 80000)
    7169
    7270    def assertLinesEqual(self, a, b):
Note: See TracChangeset for help on using the changeset viewer.