[wp-trac] [WordPress Trac] #38237: Increase the slow test threshold for tests that perform external HTTP requests
WordPress Trac
noreply at wordpress.org
Wed Oct 5 17:35:35 UTC 2016
#38237: Increase the slow test threshold for tests that perform external HTTP
requests
------------------------------+-----------------
Reporter: johnbillion | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Build/Test Tools | Version: 4.4
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------
Tests that perform external HTTP requests will always trigger a slow
warning from `SpeedTrapListener` as core's slow test threshold is set to
150ms.
Let's add a `@slowThreshold` header to each relevant test with a high
value such as 5000ms.
Docs: https://github.com/johnkary/phpunit-speedtrap
See #30017.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38237>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list