[wp-trac] [WordPress Trac] #45821: Date Related Travis Failures
WordPress Trac
noreply at wordpress.org
Mon Jan 17 13:47:26 UTC 2022
#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:
------------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"52586" 52586]:
{{{
#!CommitTicketReference repository="" revision="52586"
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.
Merges [45857] to the 5.2 branch.
Fixes #45821.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45821#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list