From b7bbf7c0be87f7e83c169c404137e45d986b704d Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 29 Jan 2026 11:34:25 +1100 Subject: [PATCH 1/3] Reduce remaining object cache test threasholds to be very low. --- tests/phpunit/tests/admin/wpSiteHealth.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/tests/admin/wpSiteHealth.php b/tests/phpunit/tests/admin/wpSiteHealth.php index 86974db2160e3..aeab8e43030e4 100644 --- a/tests/phpunit/tests/admin/wpSiteHealth.php +++ b/tests/phpunit/tests/admin/wpSiteHealth.php @@ -492,8 +492,8 @@ public function data_object_cache_thresholds() { array( 'terms_count', 1 ), array( 'options_count', 100 ), array( 'users_count', 0 ), - array( 'alloptions_count', 100 ), - array( 'alloptions_bytes', 1000 ), + array( 'alloptions_count', 1 ), + array( 'alloptions_bytes', 10 ), ); } From 41e9b9b20b76cd4a84f132195f16ae53f84c14b1 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Thu, 29 Jan 2026 11:36:32 +1100 Subject: [PATCH 2/3] Partial cherry pick build change commit for flaky test. --- tests/phpunit/tests/admin/wpSiteHealth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/admin/wpSiteHealth.php b/tests/phpunit/tests/admin/wpSiteHealth.php index aeab8e43030e4..ff5a259a42efc 100644 --- a/tests/phpunit/tests/admin/wpSiteHealth.php +++ b/tests/phpunit/tests/admin/wpSiteHealth.php @@ -490,7 +490,7 @@ public function data_object_cache_thresholds() { array( 'comments_count', 0 ), array( 'posts_count', 0 ), array( 'terms_count', 1 ), - array( 'options_count', 100 ), + array( 'options_count', 1 ), array( 'users_count', 0 ), array( 'alloptions_count', 1 ), array( 'alloptions_bytes', 10 ), From 536de16f43b3e71cef8bb7b14e8e3ce2bb0a875b Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Fri, 30 Jan 2026 10:33:25 +1100 Subject: [PATCH 3/3] Drop the term count to zero too. --- tests/phpunit/tests/admin/wpSiteHealth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/admin/wpSiteHealth.php b/tests/phpunit/tests/admin/wpSiteHealth.php index ff5a259a42efc..2d32bbb14ec4d 100644 --- a/tests/phpunit/tests/admin/wpSiteHealth.php +++ b/tests/phpunit/tests/admin/wpSiteHealth.php @@ -489,7 +489,7 @@ public function data_object_cache_thresholds() { return array( array( 'comments_count', 0 ), array( 'posts_count', 0 ), - array( 'terms_count', 1 ), + array( 'terms_count', 0 ), array( 'options_count', 1 ), array( 'users_count', 0 ), array( 'alloptions_count', 1 ),