WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 14 months ago

#44613 closed defect (bug)

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

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

Description (last modified by SergeyBiryukov)

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 when HTTP-related changes were made.

Change History (1)

#1 @SergeyBiryukov
3 years ago

  • Description modified (diff)
Note: See TracTickets for help on using tickets.