Commit cdf18773 authored by Vincent Pelletier's avatar Vincent Pelletier

Do not overwrite partition_number with a list.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@1230 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 31d25515
...@@ -49,8 +49,8 @@ class StorageTests(unittest.TestCase): ...@@ -49,8 +49,8 @@ class StorageTests(unittest.TestCase):
def __setup(self, storage_number=2, pending_number=0, replicas=1, partitions=10): def __setup(self, storage_number=2, pending_number=0, replicas=1, partitions=10):
# create a neo cluster # create a neo cluster
storage_number = ['test_neo%d' % i for i in xrange(storage_number)] self.neo = NEOCluster(['test_neo%d' % i for i in xrange(storage_number)],
self.neo = NEOCluster(storage_number, port_base=20000, port_base=20000,
master_node_count=2, master_node_count=2,
partitions=10, replicas=replicas, partitions=10, replicas=replicas,
) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment