Re: Zope tests: 5 OK, 1 Failed

"Stefan H. Holek" <[email protected]> Sun, 15 May 2005 19:20:44 +0200
Newsgroups gmane.comp.web.zope.coders
Message-ID <[email protected]>
This test passes with Python 2.4.1 on that (Linux) box and it passes  
fine with both 2.3.5 and 2.4.1 on Mac OS X.

Also, when I run the ZEO tests alone: python2.3 test.py --dir lib/ 
python/ZEO they pass as well.

The box I use to run the nightly tests is rather sluggish, so it may  
just be an artefact of that (like other test failures have turned out  
to be).

Do you have a Linux box you could confirm the failure on?

Hunting-for-a-faster-box-ly,

Stefan


On 15. Mai 2005, at 13:17, Andreas Jung wrote:

> Is this a serious ZEO problem?
>
> Andreas
>
> --On Sonntag, 15. Mai 2005 12:01 Uhr +0100 Zope tests summarizer  
> <[email protected]> wrote:
>
>
> Zope Unit Tests : FAILED (failures=1)
> Zope-trunk Python-2.3.5 : Linux
>
> Running /usr/local/python2.3/bin/python test.py
> Script (Python):filepath:1: DeprecationWarning: integer argument  
> expected, got float
> ======================================================================
> FAIL: checkCrossDBInvalidations  
> (ZEO.tests.testConnection.MappingStorageConnectionTests)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>  File "/autotest/temp/python23-zope28/lib/python/ZEO/tests/ 
> ConnectionTests.py", line 658, in checkCrossDBInvalidations
>    self.assertEqual(r1._p_state, -1) # ghost
>  File "/usr/local/python2.3/lib/python2.3/unittest.py", line 302,  
> in failUnlessEqual
>    raise self.failureException, \
> AssertionError: 0 != -1
>
> ----------------------------------------------------------------------
> Ran 5691 tests in 583.749s
>

--
Software Engineering is Programming when you can't. --E. W. Dijkstra