[wp-trac] [WordPress Trac] #45821: Date Related Travis Failures
WordPress Trac
noreply at wordpress.org
Tue Aug 20 01:34:47 UTC 2019
#45821: Date Related Travis Failures
------------------------------+-----------------------------
Reporter: desrosj | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3
Component: Build/Test Tools | Version:
Severity: minor | Resolution: fixed
Keywords: | Focuses:
------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* owner: (none) => SergeyBiryukov
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"45857" 45857]:
{{{
#!CommitTicketReference repository="" revision="45857"
Date/Time: Fix race conditions in `current_time()` tests.
* Restore default timezone before performing assertions to avoid affecting
other tests in case of failure.
* Use delta comparison for timestamps to avoid race conditions.
Props SergeyBiryukov, desrosj.
Fixes #45821.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45821#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list