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

WordPress Trac noreply at wordpress.org
Thu Jul 19 18:24:01 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            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+---------------------
Description changed by SergeyBiryukov:

Old 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.

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

--

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


More information about the wp-trac mailing list