[Neo-report] r2352 gregory - /trunk/neo/tests/functional/__init__.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 12 14:50:52 CEST 2010


Author: gregory
Date: Tue Oct 12 14:50:45 2010
New Revision: 2352

Log:
Don't allocate a port for a storage, it will do it by itself.

Modified:
    trunk/neo/tests/functional/__init__.py

Modified: trunk/neo/tests/functional/__init__.py
==============================================================================
--- trunk/neo/tests/functional/__init__.py [iso-8859-1] (original)
+++ trunk/neo/tests/functional/__init__.py [iso-8859-1] Tue Oct 12 14:50:45 2010
@@ -209,11 +209,10 @@ class NEOCluster(object):
             })
         # create storage nodes
         for index, db in enumerate(db_list):
-            port = self.__allocatePort()
             self.__newProcess(NEO_STORAGE, {
                 '--cluster': self.cluster_name,
                 '--name': 'storage_%d' % index,
-                '--bind': '127.0.0.1:%d' % (port, ),
+                '--bind': '127.0.0.1',
                 '--masters': self.master_nodes,
                 '--database': '%s:%s@%s' % (db_user, db_password, db),
                 '--adapter': adapter,





More information about the Neo-report mailing list