[wp-trac] [WordPress Trac] #30256: Create and exclude an area for ms-files.php specific unit tests
WordPress Trac
noreply at wordpress.org
Thu Nov 20 06:56:38 UTC 2014
#30256: Create and exclude an area for ms-files.php specific unit tests
------------------------------+-------------------------
Reporter: jeremyfelt | Owner: jeremyfelt
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 4.1
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: multisite
------------------------------+-------------------------
Comment (by jeremyfelt):
I went down the road of `@runInSeparateProcess` for a while in an attempt
to continue including these tests as part of the main suite.
Unfortunately, it seems that the separate processes spawn off with a
default `phpunit` and miss the arguments originally passed in `phpunit -c
tests/phpunit/multisite.xml`. Even though the group of tests ends up being
processed, they immediately run into an issue where multisite tables are
not available.
I dug for a long while and could not figure out how to get the parent
process to pass arguments to the spawned process. We should continue to
revisit this, as there may be a workaround. When we find an answer, we can
merge the ms-files stuff back in.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30256#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list