[Checkins] SVN: gocept.selenium/trunk/src/gocept/selenium/zope2/__init__.py Change zope2 flavour to run single-threaded, since Testing.ZopeTestCase is not really prepared for multi-threading, but we don't have a proper solution to that issue yet
Wolfgang Schnerring
wosc at wosc.de
Mon Dec 20 05:27:14 EST 2010
Log message for revision 119014:
Change zope2 flavour to run single-threaded, since Testing.ZopeTestCase is not really prepared for multi-threading, but we don't have a proper solution to that issue yet
(Most other flavours are single-threaded, too, so I don't feel to badly about this; at least it's consistently in the wrong direction...)
Changed:
U gocept.selenium/trunk/src/gocept/selenium/zope2/__init__.py
-=-
Modified: gocept.selenium/trunk/src/gocept/selenium/zope2/__init__.py
===================================================================
--- gocept.selenium/trunk/src/gocept/selenium/zope2/__init__.py 2010-12-19 20:45:43 UTC (rev 119013)
+++ gocept.selenium/trunk/src/gocept/selenium/zope2/__init__.py 2010-12-20 10:27:13 UTC (rev 119014)
@@ -33,7 +33,7 @@
def setUp(self):
# adapted from Testing.ZopeTestCase.utils.startZServer() to make
# host/port configurable
- Testing.ZopeTestCase.threadutils.setNumberOfThreads(5)
+ Testing.ZopeTestCase.threadutils.setNumberOfThreads(1)
log = None
thread = Testing.ZopeTestCase.threadutils.QuietThread(
target=Testing.ZopeTestCase.threadutils.zserverRunner,
More information about the checkins
mailing list