[wp-trac] [WordPress Trac] #27741: Broken Tests_User_Query::test_prepare_query() in Multisite

WordPress Trac noreply at wordpress.org
Sun Feb 25 16:55:37 UTC 2024


#27741: Broken Tests_User_Query::test_prepare_query() in Multisite
--------------------------+------------------------
 Reporter:  bpetty        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  low           |   Milestone:
Component:  Query         |     Version:  3.9
 Severity:  minor         |  Resolution:  duplicate
 Keywords:  dev-feedback  |     Focuses:  multisite
--------------------------+------------------------

Comment (by mizuki1rg):

 It seems like you're encountering an issue with a failing unit test in the
 Tests_User_Query::test_prepare_query() method, specifically in the context
 of Multisite. The failure appears to be related to an assertion error
 where two arrays are not matching as expected.

 To address this:

 Immediate Action: Apply the initial patch to skip the failing test for the
 3.9 release. This will prevent the failing test from blocking the release
 while allowing it to be addressed separately.

 Open a New Ticket: Since a patch was already applied for a similar issue
 (#21119), it's suggested to open a new ticket to track this specific
 problem for Multisite. This will ensure proper tracking and resolution of
 the issue beyond the current release.

 Future Resolution: Once the immediate patch is applied, the issue can be
 moved to "Future Release" status for further investigation and resolution
 beyond the current release cycle.

 Here are the steps you can take:

 Apply the initial patch to skip the failing test for the 3.9 release.
 Open a new ticket to track the Multisite-specific failure, referencing the
 previous patch (#21119) and including details about the failing test in
 Multisite.
 Monitor the ticket for updates and resolution, possibly targeting a future
 release beyond 3.9 for a comprehensive fix.
 This approach ensures that the release process is not blocked by the
 failing test while still addressing the underlying issue for future
 releases.

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


More information about the wp-trac mailing list