[wp-trac] [WordPress Trac] #52610: Consider removing many of the default test group exclusions

WordPress Trac noreply at wordpress.org
Thu Apr 29 15:44:50 UTC 2021


#52610: Consider removing many of the default test group exclusions
--------------------------------------+------------------------------
 Reporter:  johnbillion               |       Owner:  (none)
     Type:  task (blessed)            |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  needs-patch dev-feedback  |     Focuses:  multisite
--------------------------------------+------------------------------

Comment (by jrf):

 > Ah yes, the ms-files tests needs to remain separate because the
 constants in ms_upload_constants() are set based on the value of the
 ms_files_rewriting option, which is itself set in the @group ms-files
 tests. Removing ms-files from the excluded groups causes many failures.

 Just a heads-up: you can declare multiple `testsuite` entries in
 `<testsuites>. If the `ms-files` group gets set as a separate testsuite,
 it will probably not need a separate run and prevent the errors you are
 seeing. At least worth giving it a try. I remember fixing a similar
 situation not too long ago this way.

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


More information about the wp-trac mailing list