[wp-trac] [WordPress Trac] #60831: Investigate flakey `Tests_Admin_wpSiteHealth ::test_object_cache_thresholds()` test

WordPress Trac noreply at wordpress.org
Thu Jan 29 00:58:58 UTC 2026


#60831: Investigate flakey `Tests_Admin_wpSiteHealth
::test_object_cache_thresholds()` test
--------------------------------------+------------------------------
 Reporter:  swissspidy                |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Site Health               |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by peterwilsoncc):

 I've created a pull request to reduce the targets right down to almost
 nothing so the threasholds are much more likely to be passed, regardless
 of the environment.

 [https://github.com/WordPress/wordpress-develop/pull/10813 PR#10813]
 targets trunk and reduces the alloptions count to 1 and the alloptions
 byte count to 10.

 [https://github.com/WordPress/wordpress-develop/pull/10814 PR#10814]
 targets the 6.9 branch and does the same with the inclusion of the change
 made to the options count in r61438.

 I've not been able to reproduce the issue locally so unable to do a bisect
 to find the improvement that triggered the test threashold to be above the
 default config for the test suite.

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


More information about the wp-trac mailing list