[wp-trac] [WordPress Trac] #51669: Reduce misleading test failures caused by HTTP timeouts, take 2

WordPress Trac noreply at wordpress.org
Wed Feb 10 13:46:48 UTC 2021


#51669: Reduce misleading test failures caused by HTTP timeouts, take 2
------------------------------+-----------------------------
 Reporter:  SergeyBiryukov    |       Owner:  SergeyBiryukov
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.7
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * keywords:  has-patch commit => has-patch
 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Got this again when running multisite tests:
 {{{
 There was 1 error:

 1) WP_REST_Plugins_Controller_Test::test_create_item
 An unexpected error occurred. Something may be wrong with WordPress.org or
 this server’s configuration. If you continue to have problems,
 please try the <a href="https://wordpress.org/support/forums/">support
 forums</a>. (WordPress could not establish a secure connection to
 WordPress.org. Please contact your server administrator.)

 /var/www/build/wp-admin/includes/plugin-install.php:183
 /var/www/build/wp-includes/rest-api/endpoints/class-wp-rest-plugins-
 controller.php:288
 /var/www/build/wp-includes/rest-api/class-wp-rest-server.php:1139
 /var/www/build/wp-includes/rest-api/class-wp-rest-server.php:985
 /var/www/tests/phpunit/includes/spy-rest-server.php:57
 /var/www/build/wp-includes/rest-api.php:479
 /var/www/tests/phpunit/tests/rest-api/rest-plugins-controller.php:379
 }}}

 Apparently [49913] and [49951] didn't cover the external HTTP request in
 `plugins_api()`. Reopening for investigation.

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


More information about the wp-trac mailing list