[Checkins] SVN: zope.app.testing/trunk/ Fix memory leak in all functional tests.

Fred Drake fdrake at gmail.com
Fri Jul 25 14:48:46 EDT 2008


On Fri, Jul 25, 2008 at 1:06 PM, Marius Gedminas <marius at pov.lt> wrote:
> Log message for revision 88823:
>  Fix memory leak in all functional tests.
>
>  See: https://bugs.launchpad.net/zope3/+bug/251273

Updating from 3.4.2 to 3.4.3 in a large application caused problems;
I'm getting exceptions like this:

  File "~/.buildout/eggs/zope.component-3.4.0-py2.4.egg/zope/component/registry.py",
line 290, in subscribers
    return self.adapters.subscribers(objects, provided)
  File "~/.buildout/eggs/ZODB3-3.8.1b6-py2.4-macosx-10.3-i386.egg/ZODB/Connection.py",
line 808, in setstate
    raise ConnectionStateError(msg)
ConnectionStateError: Shouldn't load state for 0x0d when the
connection is closed

I'll try and look into this when I get a chance.  This is an
application using multiple databases; not sure if that's relevant in
this case.  There could be a bad interaction with our test layers as
well; it's not clear this is really caused by a zope.app.testing
problem.


 -Fred

-- 
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller


More information about the Checkins mailing list