[wp-trac] [WordPress Trac] #31491: Enhance unit tests for persistent object caching

WordPress Trac noreply at wordpress.org
Thu Oct 15 20:34:11 UTC 2015


#31491: Enhance unit tests for persistent object caching
------------------------------+-----------------------
 Reporter:  ocean90           |       Owner:  ocean90
     Type:  task (blessed)    |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+-----------------------

Comment (by ocean90):

 In [changeset:"35209"]:
 {{{
 #!CommitTicketReference repository="" revision="35209"
 Tests: Don't preserve the global state for Ajax tests when using an
 external object cache.

 Most of the Ajax tests are running in a separate PHP process, and thus
 PHPUnit attempts to preserve the global state from the parent process by
 serializing all globals. But this doesn't work for external object caches
 so we have to disable this "feature".

 See #31491.
 }}}

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


More information about the wp-trac mailing list