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

WordPress Trac noreply at wordpress.org
Mon Dec 17 01:41:14 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:"44256" 44256]:
 {{{
 #!CommitTicketReference repository="" revision="44256"
 Tests: Replace use of `$this->server` with `rest_get_server()` in
 `test_get_additional_field_registration_null_schema()`.

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

 [43908], from the 5.0 branch, was merged into trunk in [44254] 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 #45220, #41641.
 }}}

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


More information about the wp-trac mailing list