[wp-trac] [WordPress Trac] #62325: Ensure PHPUnit tests making network requests are in the external-http group.
WordPress Trac
noreply at wordpress.org
Wed Oct 30 23:20:26 UTC 2024
#62325: Ensure PHPUnit tests making network requests are 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: |
------------------------------+-----------------------------
A number of tests in the PHPUnit test suite make network requests to
ensure that features such as oembeds, DNS lookups and remote requests work
as intended.
As these tests can be slow and are susceptible to failure in un-ideal
network conditions, they ought to be in the `external-http` group to
prevent false negatives when the developers run the test suite locally,
especially within a virtual environment.
Some of these tests are missing the group, the purpose of this test is to
review the test suite and ensure they are all in the `external-http`
group.
cc @azaozz per discussion on [https://github.com/WordPress/wordpress-
develop/pull/7655 PR#7655].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62325>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list