[wp-trac] [WordPress Trac] #60831: Investigate flakey `Tests_Admin_wpSiteHealth ::test_object_cache_thresholds()` test
WordPress Trac
noreply at wordpress.org
Fri Jan 30 01:28:19 UTC 2026
#60831: Investigate flakey `Tests_Admin_wpSiteHealth
::test_object_cache_thresholds()` test
--------------------------------------+----------------------------
Reporter: swissspidy | Owner: peterwilsoncc
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9.1
Component: Site Health | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+----------------------------
Comment (by peterwilsoncc):
In [changeset:"61563" 61563]:
{{{
#!CommitTicketReference repository="" revision="61563"
Site Health: Reduce thresholds for object cache threshold tests.
Reduces the object counts required for Site Health to recommend a
persistent object cache in the
`Tests_Admin_wpSiteHealth::test_object_cache_thresholds()` data provider.
This is to ensure that the number of objects (terms, posts, etc) are
certainly below the defaults created by the test suite during set up. The
new threasholds are:
- terms count: 0
- alloptions count: 1
- alloptions bytes: 10
This follows the reduction to the options count threshold to 1 in r61438.
Merges [61562] to the 6.9 branch; merges the one line change from [61438]
to the 6.9 branch.
Props peterwilsoncc, swissspidy, wildworks.
Fixes #60831.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60831#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list