[Zope-Coders] Windows Nightly Test Runner

Tres Seaver tseaver@zope.com
13 Jun 2002 14:10:00 -0400


On Thu, 2002-06-13 at 13:44, Tim Peters wrote:
> [Chris Withers]
> > Some of you may have noticed there haev been no nightly test
> > runner emails for a while.
> > This is 'cos the Zope 2 HEAD + CMF HEAD tesst keep hanging on my
> > machine. Not realyl sure what to do.
> >
> > I'm CC'ing Mr Peters in case he has any idea or has experienced similar.
> 
> Well, my father is dead <wink>.  I don't see any hangs on Win2K or Win98SE,
> though, using Zope 2 HEAD, the PythonLabs-distributed 2.1.3 for Windows, and
> MSVC 6.  I'm not using CMF HEAD, so perhaps that's a key difference.  I'm
> not running any flavor of ZEO, either.  When I hear "Windows" and "hang",
> "ZEO tests" are the first thing that comes to mind ...

I would go looking for unit tests which do the following (usually in
the setUp)::

  import Zope
  self.root = Zope.app()

as one likely source of hangs is to leak database connections.

Tres.
-- 
===============================================================
Tres Seaver                                tseaver@zope.com
Zope Corporation      "Zope Dealers"       http://www.zope.com