[Bug 670864] [gstdatetime] now and utc_now unit tests sometimes fail
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Feb 27 01:39:36 PST 2012
https://bugzilla.gnome.org/show_bug.cgi?id=670864
GStreamer | gstreamer (core) | git
Tim-Philipp Müller <t.i.m> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |t.i.m at zen.co.uk
Resolution| |FIXED
Target Milestone|HEAD |0.10.37
--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-02-27 09:39:31 UTC ---
Hrm, I had actually fixed this as well, but apparently forgot to push it. I've
pushed my version of the patch now, since it seems simpler (KISS etc.):
commit 64effe78e76ec434606962a83a250c3b1ab5d612
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date: Tue Feb 21 20:43:48 2012 +0000
tests: make datetime test more reliably when comparing two almost identical
nows
Account for rounding errors in some places, and that two nows are
not always entirely identical, so allow some leeway when comparing
microseconds and seconds. Ran into this too often, esp. when the
system is under load.
Hope it fixes the issue for you as well. If not, please re-open.
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list