Commit fb218608 authored by Julien Muchembled's avatar Julien Muchembled

testnode: define here the number of MySQL DBs to create for future test suites

parent cfcfcbbb
...@@ -361,9 +361,12 @@ class SlapOSControler(object): ...@@ -361,9 +361,12 @@ class SlapOSControler(object):
# XXX: Hack to minimize writes to storage holding MySQL databases. # XXX: Hack to minimize writes to storage holding MySQL databases.
# Note this is something we want for all test suites, so it would # Note this is something we want for all test suites, so it would
# not be better to define this parameter on each test suite. # not be better to define this parameter on each test suite.
# XXX: Also move here the number of test db to create, so that software
# release stop create ones by default.
config['instance_dict']['_'] = json.dumps({"mariadb": { config['instance_dict']['_'] = json.dumps({"mariadb": {
"relaxed-writes": True, "relaxed-writes": True,
"mariadb-relaxed-writes": True, # BBB "mariadb-relaxed-writes": True, # BBB
"test-database-amount": 30,
}}) }})
for path in self.software_path_list: for path in self.software_path_list:
try: try:
......
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