Skip to content

Conversation

@johnbillion
Copy link
Member

@johnbillion johnbillion commented Sep 5, 2025

In #9746 the PHP 8.3 and 8.4 image was updated. This update caused at least one test to become risky as it no longer performs an assertion, but the risky test itself didn't cause a test failure.

There is no reason to allow risky tests to go unseen. This fixes that.

Trac ticket: https://core.trac.wordpress.org/ticket/63167

@github-actions
Copy link

github-actions bot commented Sep 5, 2025

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props johnbillion, desrosj.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copy link
Member

@desrosj desrosj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should also add failOnRisky="true" to tests/phpunit/mutisite.xml.

The commit that caused a test to be considered risky also affected the multisite runs. There are currently no other risky tests run for multisite installs, so let's add it there for consistency.

- 'composer.*'
# This files affect the phpunit tests. Changes could affect the outcome.
- 'tests/phpunit/**'
- 'phpunit.xml.dist'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like the multisite.xml configuration file is caught by the first condition, but what do you think about explicitly naming it here along phpunit.xml.dist just to make it more clear it's within that folder?

@johnbillion
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants