23 Apr
2005
23 Apr
'05
3:13 p.m.
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