? ? Failure

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
7 Sep 2016

Summary of Changes

Since 417a6a6 (merged in the 3.7.x branch) JDate('now') return the current date with microseconds in the 3.7.x. branch there is no need to wait for 1 second.

So this PR makes JDate('now') tests wait just one microsecond (is enough to get different dates), instead of a whole second, and with that gaining 2 extra second of performance in every unit tests.

Testing Instructions

Unit tests pass.
Very simple code review.

Documentation Changes Required

None.

avatar andrepereiradasilva andrepereiradasilva - open - 7 Sep 2016
avatar andrepereiradasilva andrepereiradasilva - change - 7 Sep 2016
The description was changed
avatar andrepereiradasilva andrepereiradasilva - edited - 7 Sep 2016
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2016
The description was changed
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2016
Category Unit Tests
avatar andrepereiradasilva andrepereiradasilva - change - 7 Sep 2016
The description was changed
avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Sep 2016

Note the tests that didn't pass are drone tests not related to this.
You can check here all unit tests passed on travis https://travis-ci.org/joomla/joomla-cms/builds/158140401

avatar wilsonge wilsonge - change - 7 Sep 2016
Status New Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-09-07 11:30:05
Closed_By wilsonge
avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Sep 2016

thanks

Add a Comment

Login with GitHub to post a comment