web-platform-tests / wpt

Test suites for Web platform specs — including WHATWG, W3C, and others
https://web-platform-tests.org/
Other
4.97k stars 3.09k forks source link

*/callback-cross-realm-report-exception.html are flaky #44176

Open wangxianzhu opened 8 months ago

wangxianzhu commented 8 months ago

@shvaikalesh

The tests wait 25ms before checking the result. The time may not be enough when the test runner is slow (e.g. with a debug build or there are many parallel tests running).

gsnedders commented 8 months ago

The time may not be enough when the test runner is slow (e.g. with a debug build or there are many parallel tests running).

Certainly with debug, and maybe even with parallel test execution, I'd hope you were passing a timeout multipler? That said, even with a 3x multiplier 25ms is only 75ms, which still isn't that long for something that needs to wait for the event loop to spin for a debug build.

WeizhongX commented 4 months ago

Can we change this to 1 second?

wangxianzhu commented 4 months ago

I think 1 second is worth trying.