[Zope-dev] zope-tests - FAILED: 3, OK: 12

Tres Seaver tseaver at palladion.com
Tue May 21 13:45:52 UTC 2013


-----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          tseaver at palladion.com
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-----



More information about the Zope-Dev mailing list