[wp-trac] [WordPress Trac] #31130: WP_INSTALLING causes leakage between unit tests

WordPress Trac noreply at wordpress.org
Thu Mar 12 23:29:23 UTC 2015

#31130: WP_INSTALLING causes leakage between unit tests
 Reporter:  boonebgorges            |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Future Release
Component:  Build/Test Tools        |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:

Comment (by boonebgorges):

 In [changeset:"31764"]:
 #!CommitTicketReference repository="" revision="31764"
 Don't run `wp_get_archives()` cache test on multisite.

 The introduction of a Customizer test that creates a new blog [31707]
 `WP_INSTALLING` to be set by the time the `wp_get_archives()` tests run.
 in turn, causes the query counts to vary in unpredictable ways.

 See #31130.

Ticket URL: <https://core.trac.wordpress.org/ticket/31130#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list