Bug 180282 - Increased flakiness in layout tests when timer latency increased.
Summary: Increased flakiness in layout tests when timer latency increased.
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-01 14:27 PST by Per Arne Vollan
Modified: 2022-03-27 22:20 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Arne Vollan 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?
Comment 1 Alexey Proskuryakov 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.