Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#60907 closed defect (bug) (fixed)

Investigate failing `Tests_Image_Functions::test_wp_crop_image_with_url` test

Reported by: swissspidy's profile swissspidy Owned by: swissspidy's profile swissspidy
Milestone: 6.6 Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: has-patch has-unit-tests
Focuses: Cc:

Description

This test seems to consistently fail on SiteGround. Example: https://make.wordpress.org/hosting/test-results/r57910/sitegroundbot-r57910/

The test tries to download & crop https://asdftestblog1.files.wordpress.com/2008/04/canola.jpg.

I wonder if we need to update the image URL like was done in [57908] / #60865. That would certainly be worth a try.

https://asdftestblog1.files.wordpress.com is used in 3 places, all of them should probably get updated.

Change History (3)

This ticket was mentioned in PR #6353 on WordPress/wordpress-develop by @swissspidy.


5 months ago
#1

  • Keywords has-patch has-unit-tests added

#2 @swissspidy
5 months ago

  • Owner set to swissspidy
  • Resolution set to fixed
  • Status changed from new to closed

In 57924:

Build/Test Tools: Update a few image URLs in HTTP and image cropping tests.

Follow-up to #60865 / [57903] where similar instances were recently updated due to an upstream change.

Particularly the test_wp_crop_image_with_url() test recently began to fail on some environments, likely because of the same change.

This updates the image URLs with the aim to bring more consistency and to get the test passing again more broadly.

Fixes #60907.

Note: See TracTickets for help on using tickets.