[wp-trac] [WordPress Trac] #65064: Flaky test: test_get_theme_featured_list_api fails with external HTTP unavailability
WordPress Trac
noreply at wordpress.org
Thu Apr 16 15:12:42 UTC 2026
#65064: Flaky test: test_get_theme_featured_list_api fails with external HTTP
unavailability
-------------------------------------------------+-------------------------
Reporter: rakeshfalke | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
| Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: has-test-info has-patch has-unit- | Focuses: tests
tests |
-------------------------------------------------+-------------------------
Comment (by SergeyBiryukov):
Hi there, thanks for the ticket!
Just noting that this previously came up in comment:18:ticket:54420.
The test was added in [39906] / #28121 to make sure that the list of theme
features pulled from the WordPress.org API returns the expected data
structure. It seems that mocking this response might defeat the purpose of
the test, as it was specifically written to protect from unexpected
changes in the WordPress.org API response.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/65064#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list