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

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.


>>> [2]    winbot / ZEO_py_265_32
> 
> One failure:
> 
> File "c:\buildslave\zeo\build\src\ZEO\tests\testZEO.py", line 1162, in
> ZEO.tests.testZEO.client_has_newer_data_than_server Failed example: 
> len(client_errors) >= 2 Expected: True Got: False

This is another place where I have tweaked the test code, trying to
remove race conditions:  the test is trying to make assertionas about
errors being logged, and does a bunch of sleeping trying to ensure that
"enough" stuff gets logged.  Again, it is a bad test, and not a real
issue with the code being tested.


Tres.
- -- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlGbepAACgkQ+gerLs4ltQ56IACeIrEUbC/TC+Y0d+AvjVom6rID
GkEAn2nNosl/7EhWpymlf2n/zcN6avi+
=ZYlR
-----END PGP SIGNATURE-----

_______________________________________________
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 )
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.