[wp-trac] [WordPress Trac] #27410: Clear object cache between tests

WordPress Trac noreply at wordpress.org
Mon Mar 17 05:26:49 UTC 2014


#27410: Clear object cache between tests
------------------------------+------------------------------
 Reporter:  rmccue            |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by rmccue):

 Looks like the real issue here is that the object cache is loaded at all.
 Unfortunately, looks like there's no nice way to test if we're running the
 test suite, but detecting whether `WP_TESTS_FORCE_KNOWN_BUGS` is defined
 is probably Good Enough there.

 Should we just not load object caching when testing?

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


More information about the wp-trac mailing list