[wp-trac] [WordPress Trac] #46073: Off by one error in Imagick testsuite

WordPress Trac noreply at wordpress.org
Thu Mar 28 10:32:05 UTC 2019


#46073: Off by one error in Imagick testsuite
-----------------------------------------+-----------------------------
 Reporter:  Fuegas                       |       Owner:  mikeschroder
     Type:  defect (bug)                 |      Status:  assigned
 Priority:  normal                       |   Milestone:  Future Release
Component:  Media                        |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:
-----------------------------------------+-----------------------------

Comment (by Fuegas):

 I can confirm this fixed our issue:

 {{{
 $ php phpunit.phar -v tests/phpunit/tests/image/editorImagick.php

 PHP version: 7.2.15

 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests. To execute these, use --group ajax.
 Not running ms-files tests. To execute these, use --group ms-files.
 Not running external-http tests. To execute these, use --group external-
 http.
 PHPUnit 5.7.27 by Sebastian Bergmann and contributors.

 ..............                                                    14 / 14
 (100%)

 You should really fix these slow tests (>150ms)...
  1. 314ms to run Tests_Image_Editor_Imagick:test_multi_resize


 Time: 11.77 seconds, Memory: 32.25MB
 }}}

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


More information about the wp-trac mailing list