[wp-trac] [WordPress Trac] #51669: Reduce misleading test failures caused by HTTP timeouts, take 2

WordPress Trac noreply at wordpress.org
Fri Feb 12 22:13:17 UTC 2021


#51669: Reduce misleading test failures caused by HTTP timeouts, take 2
------------------------------+-----------------------------
 Reporter:  SergeyBiryukov    |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:37 SergeyBiryukov]:
 > Apparently [49913] and [49951] didn't cover the external HTTP request in
 `plugins_api()`.

 Apparently the `plugins_api()` call in these tests is by design, so they
 should probably use the `external-http` group and the
 `skipTestOnTimeout()` method.

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


More information about the wp-trac mailing list