Bug 180282

Summary: Increased flakiness in layout tests when timer latency increased.
Product: WebKit Reporter: Per Arne Vollan <pvollan>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: ap, bfulgham, heycam, jbedard, lforschler
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Per Arne Vollan
Reported 2017-12-01 14:27:28 PST
This is maybe expected, but when I experimented with making the WebContent process run [NSRunLoop run] instead of [NSApplication run], the timer latency increased because the priority of the WebContent process became lower. This increased the layout test flakiness. Ideally, the layout test results should not depend too much on timer latency. Perhaps we should drain the message queue between each test?
Attachments
Alexey Proskuryakov
Comment 1 2017-12-02 14:31:31 PST
This sounds like a great way to make flakiness more reproducible! I’m not sure if doing something between the tests is the answer though. We already do many things intended to ensure that there is a strong boundary between tests.
Note You need to log in before you can comment on or make changes to this bug.