Opened 11 years ago
Closed 11 years ago
#27751 closed defect (bug) (fixed)
Multisite tests with --group option fails
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 4.0 | Priority: | normal |
Severity: | normal | Version: | 3.9 |
Component: | Options, Meta APIs | Keywords: | |
Focuses: | multisite | Cc: |
Description
Follow-up: #22807
Note that these new tests actually do pass in multisite if you run them isolated from all other tests (--group 22807
), however, they don't pass when run with the rest of the tests in the group (--group option
). So this is very likely an issue with the tests, not the patch.
$ phpunit -c tests/phpunit/multisite.xml --group option Installing... Installing network... Running as multisite... Not running ajax tests... To execute these, use --group ajax. PHPUnit 3.7.28 by Sebastian Bergmann. Configuration read from /home/bryan/Projects/wp-vagrant/wordpress/tests/phpunit/multisite.xml .....................FF Time: 4.82 seconds, Memory: 63.25Mb There were 2 failures: 1) Tests_Option_Transient::test_transient_data_with_timeout Failed asserting that '4cdf467f5274a5cb0efec967a5867fc7' is false. /home/bryan/Projects/wp-vagrant/wordpress/tests/phpunit/tests/option/transient.php:56 2) Tests_Option_Transient::test_transient_add_timeout Failed asserting that '32bc17ef58dff68148e2645aabc96c57' is false. /home/bryan/Projects/wp-vagrant/wordpress/tests/phpunit/tests/option/transient.php:77 FAILURES! Tests: 23, Assertions: 208, Failures: 2.
Change History (2)
Note: See
TracTickets for help on using
tickets.
It looks like this was cleared up in [28965] by skipping the tests when multisite.