Re: zope-tests - FAILED: 3, OK: 12

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20130522125805.GA20073@platonas>
On Tue, May 21, 2013 at 09:45:52AM -0400, Tres Seaver wrote:
> On 05/21/2013 06:28 AM, Marius Gedminas wrote:
> >>> [1]    Still Failing - zopetoolkit_trunk - Build # 270
> > One zope.session failure:
> > 
> > File
> > "/var/lib/jenkins/jobs/zopetoolkit_trunk/workspace/src/zope.session/src/zope/session/http.py",
> > line 442, in zope.session.http.CookieClientIdManager.setRequestId 
> > Failed example: expires > now + timedelta(0, 55 * 60) Expected: True 
> > Got: False
> 
> Hmm, I changed that yesterday because the old test code (using
> 'time.mktime') was failiing on my box, likely due to an odd mix of naive
> and GMT times.  The *actual* cookie being set by the code-under-test is
> correct -- we just have a problem writing good assertinos about it.

I can reproduce this.

Looks like the error only shows up when the system timezone is east of
the prime meridian (e.g. Europe/Vilnius or Europe/London -- at least
during summer; the error went away with TZ set to America/New_York or
UTC).

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFRnMDdkVdEXeem148RAlCaAJ9SVLql9jKOiHPfvuN9DTglwNRvRACeJCnm
jdDrAcF3ggdpXZXiTLizPY8=
=73PB
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.