[wp-trac] [WordPress Trac] #22807: Updating a non-expiring transient with a new expiry date does not make it expire
WordPress Trac
noreply at wordpress.org
Tue Apr 8 17:52:36 UTC 2014
#22807: Updating a non-expiring transient with a new expiry date does not make it
expire
--------------------------------+-----------------------
Reporter: bersbers | Owner: nacin
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 3.9
Component: Options, Meta APIs | Version: 3.4.2
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
--------------------------------+-----------------------
Changes (by bpetty):
* keywords: has-patch dev-feedback commit => dev-feedback
* status: closed => reopened
* resolution: fixed =>
Comment:
Reopening to address failing tests in multisite. 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.
}}}
This could be punted, but there was a fix here applied to 3.9, so I don't
want to change the milestone on this ticket, but it needs to be this
ticket re-opened to skip these tests for now.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22807#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list