[wp-trac] [WordPress Trac] #53781: Tests_Embed_Template tests fail when run in isolation

WordPress Trac noreply at wordpress.org
Mon Jul 26 17:01:51 UTC 2021


#53781: Tests_Embed_Template tests fail when run in isolation
------------------------------+-------------------------------
 Reporter:  jrf               |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  needs-patch       |     Focuses:  coding-standards
------------------------------+-------------------------------

Comment (by SergeyBiryukov):

 Thanks for the ticket!

 Just noting that I cannot seem to reproduce yet, these tests run as
 expected for me:
 {{{
 S:\home\wordpress.test\develop-trunk>phpunit --filter Tests_Embed_Template
 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 7.5.20 by Sebastian Bergmann and contributors.

 .................                                                 17 / 17
 (100%)

 You should really fix these slow tests (>150ms)...
  1. 303ms to run Tests_Embed_Template:test_oembed_output_post


 Time: 53.52 seconds, Memory: 144.00 MB

 OK (17 tests, 55 assertions)
 }}}

 That said, there might indeed be something unstable about these tests that
 needs further investigation.

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


More information about the wp-trac mailing list