Commit 929e73e7 authored by Romain Courteaud's avatar Romain Courteaud

Provide some mysql test databases.

parent edd14fde
......@@ -116,7 +116,7 @@ class Recipe(slapos.recipe.erp5.Recipe):
def installProductionMysql(self):
mysql_conf = self.installMysqlServer(self.getGlobalIPv6Address(), 45678,
template_filename=pkg_resources.resource_filename(__name__,
'template/my.cnf.in'), parallel_test_database_amount=0,
'template/my.cnf.in'), parallel_test_database_amount=1,
mysql_conf=dict(innodb_buffer_pool_size='10G'), with_backup=False)
self.installMysqldumpBackup()
self.setConnectionDict(dict(
......@@ -273,7 +273,7 @@ class Recipe(slapos.recipe.erp5.Recipe):
self.getLocalIPv4Address(), 23000, 23060)
mysql_conf = self.installMysqlServer(self.getLocalIPv4Address(), 45678,
template_filename=pkg_resources.resource_filename(__name__,
'template/my.cnf.in'), parallel_test_database_amount=0,
'template/my.cnf.in'), parallel_test_database_amount=10,
mysql_conf=dict(innodb_buffer_pool_size='1G'), with_backup=False)
self.installMysqldumpBackup()
kumo_conf = self.installKumo(self.getLocalIPv4Address())
......
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