[wp-trac] [WordPress Trac] #63083: Fail tests making external HTTP requests that are not in the `external-http` group.
WordPress Trac
noreply at wordpress.org
Mon Mar 10 23:11:49 UTC 2025
#63083: Fail tests making external HTTP requests that are not in the `external-
http` group.
------------------------------+-----------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords:
Focuses: |
------------------------------+-----------------------------
While reviewing the patch for #62325, I decided it would be helpful to
have two tests:
* Ensure that any test making an external HTTP request was in the group
`external-http`
* Ensure that any test in the `external-http` group did, in fact, make a
request
I did this in the hackiest way possible (see the attachment) for the
purposes of getting the review done but I am wondering if it's worth
adding such tests to the test suite to ensure that HTTP connection errors
don't affect the main test suite.
I'm not sure if it's a good or bad idea but would appreciate others
weighing in with their views.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63083>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list