Commit 7087a74b authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1461] initial addition of config for tests

parent 3430cd41
{"version": 2, "Logging": {"loggers": [{"debuglevel": 99, "severity": "DEBUG", "name": "*"}]}, "DDNS": {"zones": [{"origin": "example.org.", "update_acl": [{"action": "ACCEPT", "from": "127.0.0.1"}], "class": "IN"}]}, "Auth": {"database_file": "data/ddns/example.org.sqlite3", "listen_on": [{"port": 47806, "address": "127.0.0.1"}]}, "Boss": {"components": {"b10-ddns": {"kind": "needed"}, "b10-auth": {"kind": "needed", "special": "auth"}, "b10-cmdctl": {"kind": "needed", "special": "cmdctl"}}}}
......@@ -53,8 +53,14 @@ copylist = [
"configurations/resolver/resolver_basic.config"],
["configurations/multi_instance/multi_auth.config.orig",
"configurations/multi_instance/multi_auth.config"],
["configurations/ddns/ddns.config.orig",
"configurations/ddns/ddns.config"],
["configurations/ddns/noddns.config.orig",
"configurations/ddns/noddns.config"],
["data/inmem-xfrin.sqlite3.orig",
"data/inmem-xfrin.sqlite3"]
"data/inmem-xfrin.sqlite3"],
["data/ddns/example.org.sqlite3.orig",
"data/ddns/example.org.sqlite3"]
]
# This is a list of files that, if present, will be removed before a scenario
......@@ -258,7 +264,7 @@ class RunningProcesses:
Initialize with no running processes.
"""
self.processes = {}
def add_process(self, step, process_name, args):
"""
Start a process with the given arguments, and store it under the given
......@@ -297,14 +303,14 @@ class RunningProcesses:
"Process " + name + " unknown"
self.processes[process_name].stop_process()
del self.processes[process_name]
def stop_all_processes(self):
"""
Stop all running processes.
"""
for process in self.processes.values():
process.stop_process()
def keep_files(self):
"""
Keep the redirection files for stdout/stderr output of all processes
......
Supports Markdown
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