[wp-trac] [WordPress Trac] #41641: Unit testing reaching the memory limit

WordPress Trac noreply at wordpress.org
Mon Dec 17 01:24:40 UTC 2018


#41641: Unit testing reaching the memory limit
------------------------------+-----------------------------
 Reporter:  Hristo Sg         |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  closed
 Priority:  normal            |   Milestone:  5.1
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  commit            |     Focuses:
------------------------------+-----------------------------

Comment (by SergeyBiryukov):

 In [changeset:"44255" 44255]:
 {{{
 #!CommitTicketReference repository="" revision="44255"
 Tests: Replace use of `$this->server` with `rest_get_server()` in
 `test_registered_query_params()`.

 In [42724], `$this->server` was replaced with `rest_get_server()` for
 better memory recycling.

 [43897], from the 5.0 branch, was merged into trunk in [44250] and used
 the now unavailable `$this->server`.

 This updates the new test from the 5.0 branch to use the expected
 `rest_get_server()`.

 See #43316, #41641.
 }}}

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


More information about the wp-trac mailing list