[wp-trac] [WordPress Trac] #51670: Multisite test failures on GitHub Actions
WordPress Trac
noreply at wordpress.org
Tue Nov 3 21:07:48 UTC 2020
#51670: Multisite test failures on GitHub Actions
---------------------------------------------+----------------------
Reporter: SergeyBiryukov | Owner: desrosj
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.6
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests commit | Focuses:
---------------------------------------------+----------------------
Changes (by desrosj):
* owner: (none) => desrosj
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"49491" 49491]:
{{{
#!CommitTicketReference repository="" revision="49491"
Build/Test Tools: Disable update attempts while running unit tests.
This fixes an issue introduced in [49369] that causes l10n related tests
to fail when the PHPUnit test suite is run multiple times without hints of
the site being under version control.
[49369] removed the `.git` folder from the ZIP artifact created during the
initial setup job. This ZIP file is used by the later jobs in the workflow
that run the test suite. The absence of the `.git` folder in these later
jobs caused the language packs initially loaded from
`phpunit/data/languages` folder to be updated asynchronously, resulting in
unexpected values when running the tests a second time.
This change disables all Core auto-update and asynchronous language pack
update attempts when running PHPUnit tests.
Props ocean90, SergeyBiryukov.
See #50401.
Fixes #51670.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51670#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list