[Zope] Re: Strange lockup during functional tests (sandboxed)

Balazs Ree ree at ree.hu
Sat Apr 23 11:13:06 EDT 2005


Sat, 23 Apr 2005 16:48:21 +0200 keltezéssel Stefan H. Holek azt írta:
> ZopeTestCase.app() returns a new connection which you would have to 
> ZopeTestCase.close(app) after use. If you forget to close, you will 
> deplete the connection pool and cause the hang you experience.

This might be true, but the problem is not caused by this. Neither

app = ZopeTestCase.app()
ZopeTestCase.utils.setupCoreSessions(app)
ZopeTestCase.close(app)

, nor

ZopeTestCase.utils.setupCoreSessions()

solves it. The only way to make the error disappear is
to get rid of the request.set('SESSION', ...).

-- 
Balazs REE




More information about the Zope mailing list