[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
Fri Apr 11 11:35:53 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:  closed
 Priority:  normal              |   Milestone:  3.9
Component:  Options, Meta APIs  |     Version:  3.4.2
 Severity:  normal              |  Resolution:  fixed
 Keywords:  dev-feedback        |     Focuses:
--------------------------------+---------------------

Comment (by sandyr):

 We can ignore the transient test assertion for multisite. Attached the
 diff for the unit test.

 sandeep at localhost:~/wordpress-develop$ phpunit
 ./tests/phpunit/tests/option/transient.php
 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests... To execute these, use --group ajax.
 PHPUnit 3.7.31 by Sebastian Bergmann.

 Configuration read from /home/sandeep/wordpress-develop/phpunit.xml.dist

 ....

 Time: 7.83 seconds, Memory: 14.00Mb



 sandeep at localhost:~/wordpress-develop$ phpunit
 ./tests/phpunit/tests/option/transient.php -c tests/phpunit/multisite.xml
 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests... To execute these, use --group ajax.
 PHPUnit 3.7.31 by Sebastian Bergmann.

 Configuration read from /home/sandeep/wordpress-develop/phpunit.xml.dist

 ....

 Time: 7.44 seconds, Memory: 14.00Mb

 OK (4 tests, 28 assertions)

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


More information about the wp-trac mailing list