Bug 168568

Summary: [GTK] Some tests require a long timeout
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, cturner, lforschler, youennf
Priority: P2 Keywords: Gtk, LayoutTestFailure
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   

Description Carlos Garcia Campos 2017-02-19 00:03:11 PST
http/tests/xmlhttprequest/resetting-timeout-to-zero.html
http/tests/xmlhttprequest/timeout-greater-than-default-network-timeout.html

Those tests are timing out because the need ~60 seconds to run, they are testing the default network timeout in XHR that is set to 60 seconds. That works in apple bots that use 30 seconds as the normal timeout and 150 for slow (30 * 5 ). In the GTK+ port we use 6 seconds for the normal timeout and 30 for slow (6 * 5). The obvious solution is to increase the timeouts, but that would make the whole test suite slower to run, and apparently there are only two tests affected by this. Both pass with a long enough timeout. Maybe we could make a way to mark tests as even slower, or even provide a way to set the minimum time required to run a particular test in the tests expectations or test_options.json. For now I'm going to mark those tests as timing out.
Comment 1 Charlie Turner 2017-07-25 08:48:24 PDT
Timeouts were raised in r218270 making both these tests pass consistently.