[wp-trac] [WordPress Trac] #57306: External HTTP test failures

WordPress Trac noreply at wordpress.org
Sat Dec 10 13:32:11 UTC 2022


#57306: External HTTP test failures
------------------------------+---------------------
 Reporter:  SergeyBiryukov    |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  6.2
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |     Focuses:
------------------------------+---------------------

Comment (by SergeyBiryukov):

 In [changeset:"54955" 54955]:
 {{{
 #!CommitTicketReference repository="" revision="54955"
 Tests: Temporarily disable a `WP_Http` test for multiple `Location`
 headers.

 The test verifies that `WP_Http::handle_redirects()` uses the last
 specified URL as the redirect location if multiple `Location` headers are
 specified in the response.

 It appears that the redirection script on api.wordpress.org no longer
 sends the expected two `Location` headers, causing the test to fail.

 While the exact cause is being investigated and confirmed, this commit
 disables the affected test for now, so that other commits and PRs are not
 blocked by these failures.

 Follow-up to [342/tests], [874/tests], [1329/tests], [24846].

 Props costdev, SergeyBiryukov.
 See #57306.
 }}}

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


More information about the wp-trac mailing list