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


_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to