[wp-trac] [WordPress Trac] #62325: Ensure PHPUnit tests making network requests are in the external-http group.
WordPress Trac
noreply at wordpress.org
Mon Mar 10 23:38:47 UTC 2025
#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: 6.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+---------------------
Changes (by peterwilsoncc):
* keywords: has-patch has-unit-tests => has-patch has-unit-tests commit
Comment:
I've approved the [https://github.com/WordPress/wordpress-
develop/pull/8074 pull request associated with this ticket], I think it's
ready for commit.
----
> Yep, thinking that fixing the group will be a nice improvement for most
people that run the unit tests locally (the tests can be run with
--exclude-group external-http when network connection is slow).
@azaozz By default the group is excluded for local test runs, so once I
commit the PR running the local test suite should avoid failures caused by
network errors.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62325#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list