Make WordPress Core

Changeset 59873


Ignore:
Timestamp:
02/26/2025 06:47:26 PM (4 weeks ago)
Author:
desrosj
Message:

Build/Test Tools: Raise timeout value when running tests on PHP 8.4.

The test suite when run on PHP 8.4 with MySQL is currently taking 2-3x the amount of time to run. The jobs are regularly hitting the conservative 20 minute time out configured to prevent runaway jobs.

While this performance regression is investigated, this increases the timeout value to 30 to avoid running into unnecessary failures now that the issue has been discovered.

Props johnbillion.
See #63026.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/.github/workflows/reusable-phpunit-tests-v3.yml

    r59720 r59873  
    121121    name: ${{ inputs.phpunit-test-groups && format( '{0} / ', inputs.phpunit-test-groups ) || '' }}PHP ${{ inputs.php }} ${{ ! inputs.phpunit-test-groups && ! inputs.coverage-report && '/ ' || 'with ' }}${{ 'mariadb' == inputs.db-type && 'MariaDB' || 'MySQL' }} ${{ inputs.db-version }}${{ inputs.multisite && ' multisite' || '' }}${{ inputs.db-innovation && ' (innovation release)' || '' }}${{ inputs.memcached && ' with memcached' || '' }}${{ inputs.report && ' (test reporting enabled)' || '' }} ${{ 'example.org' != inputs.tests-domain && inputs.tests-domain || '' }}
    122122    runs-on: ${{ inputs.os }}
    123     timeout-minutes: ${{ inputs.coverage-report && 120 || 20 }}
     123    timeout-minutes: ${{ inputs.coverage-report && 120 || inputs.php == '8.4' && 30 || 20 }}
    124124
    125125    steps:
Note: See TracChangeset for help on using the changeset viewer.