[wp-trac] [WordPress Trac] #55919: Composer: Disable process timeout for PHPUnit tests

WordPress Trac noreply at wordpress.org
Thu Sep 29 14:43:21 UTC 2022


#55919: Composer: Disable process timeout for PHPUnit tests
----------------------------------------+-----------------------------
 Reporter:  SergeyBiryukov              |       Owner:  SergeyBiryukov
     Type:  defect (bug)                |      Status:  closed
 Priority:  normal                      |   Milestone:  6.1
Component:  Build/Test Tools            |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch has-testing-info  |     Focuses:
----------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"54355" 54355]:
 {{{
 #!CommitTicketReference repository="" revision="54355"
 Build/Test Tools: Disable process timeout when running PHPUnit tests via
 Composer.

 When running the full test suite locally via `npm run grunt phpunit` or
 `composer test`, it is not uncommon for the test run to exceed the
 Composer's default timeout, causing an error in the middle of the test
 output:
 {{{
 The process "..." exceeded the timeout of 300 seconds.
 }}}

 This commit disables the process timeout for the `composer test` command,
 allowing the test run to complete successfully.

 Follow-up to [47881], [51016].

 Props ironprogrammer, robinwpdeveloper, SergeyBiryukov.
 Fixes #55919.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55919#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list