[wp-trac] [WordPress Trac] #38237: Increase the slow test threshold for tests that perform external HTTP requests

WordPress Trac noreply at wordpress.org
Fri Jul 30 19:19:02 UTC 2021


#38237: Increase the slow test threshold for tests that perform external HTTP
requests
----------------------------------------+--------------------------
 Reporter:  johnbillion                 |       Owner:  johnbillion
     Type:  task (blessed)              |      Status:  closed
 Priority:  normal                      |   Milestone:
Component:  Build/Test Tools            |     Version:  4.4
 Severity:  normal                      |  Resolution:  wontfix
 Keywords:  needs-patch good-first-bug  |     Focuses:
----------------------------------------+--------------------------
Changes (by johnbillion):

 * status:  assigned => closed
 * resolution:   => wontfix
 * milestone:  Future Release =>


Comment:

 After some discussion with Tonya, Juliette, Sergey, and myself, we've
 decided to remove `SpeedTrapListener` completely for a few reasons:

 * Maintaining compatibility with future versions of PHPUnit becomes more
 complicated as the listener API changes, particularly with the upcoming
 support for PHPUnit 8
 * The listener has seen little use by anybody - the external HTTP request
 tests have been running tests longer than the allowed threshold since the
 day it was introduced
 * `SpeedTrapListener` can still be added as a dependency locally and used
 when performance investigation is required, it doesn't need to be in core

 The removal will be handled in #46149

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


More information about the wp-trac mailing list