tests: enable debugging for new processes

This commit is contained in:
Unrud 2018-09-09 15:16:20 +02:00
parent f1de843188
commit 93c1581e21

View File

@ -58,6 +58,8 @@ class TestBaseServerRequests:
self.configuration = config.load() self.configuration = config.load()
self.colpath = tempfile.mkdtemp() self.colpath = tempfile.mkdtemp()
self.configuration["storage"]["filesystem_folder"] = self.colpath self.configuration["storage"]["filesystem_folder"] = self.colpath
# Enable debugging for new processes
self.configuration["logging"]["level"] = "debug"
# Disable syncing to disk for better performance # Disable syncing to disk for better performance
self.configuration["internal"]["filesystem_fsync"] = "False" self.configuration["internal"]["filesystem_fsync"] = "False"
self.shutdown_socket, shutdown_socket_out = socket.socketpair() self.shutdown_socket, shutdown_socket_out = socket.socketpair()