[wp-trac] [WordPress Trac] #55919: Composer: Disable process timeout for PHPUnit tests
WordPress Trac
noreply at wordpress.org
Wed Sep 21 05:22:28 UTC 2022
#55919: Composer: Disable process timeout for PHPUnit tests
----------------------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch has-testing-info | Focuses:
----------------------------------------+---------------------
Comment (by ironprogrammer):
== Test Report
LGTM 👍🏻 As [#comment:3 indicated above], this can be tested by forcing
an insufficient time period to complete the test suite.
Patch tested:
https://core.trac.wordpress.org/attachment/ticket/55919/55919.diff
=== Environment
- Hardware: MacBook Pro Apple M1 Pro
- OS: macOS 12.6
- Server: nginx/1.23.1
- PHP: 7.4.30
- WordPress: 6.1-alpha-53344-src
=== Pre-Test Configuration
1. Set Composer's `process-timeout` to a low value (e.g. 10 seconds) to
simulate an insufficient timeout period: `export
COMPOSER_PROCESS_TIMEOUT=10`.
2. Confirm the `process-timeout` value with: `composer config process-
timeout`.
=== Actual Results
- ✅ Patch update overrides `process-timeout` value and tests complete
without error.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55919#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list