WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 13 months ago

#44613 closed defect (bug)

Reduce misleading test failures caused by HTTP timeouts — at Initial Version

Reported by: SergeyBiryukov Owned by:
Milestone: 4.9.9 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords:
Focuses: Cc:

Description

A number of HTTP external tests can randomly fail due to timeouts.

[34848] improved things a bit, however it only uses ::skipTestOnTimeout() in three tests, whereas there's a lot more tests with similar random timeouts from time to time.

Seems like ::skipTestOnTimeout() should be used in any HTTP test that can fail due to a timeout.

Another option is to only run these tests only when HTTP-related changes were made.

Change History (0)

Note: See TracTickets for help on using tickets.