[wp-trac] [WordPress Trac] #44613: Reduce misleading test failures caused by HTTP timeouts

WordPress Trac noreply at wordpress.org
Thu Jul 19 18:15:51 UTC 2018


#44613: Reduce misleading test failures caused by HTTP timeouts
------------------------------+--------------------
 Reporter:  SergeyBiryukov    |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  5.0
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+--------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44613>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list