Close lock file when running tests

The name of configuration option was wrong.
This commit is contained in:
Unrud 2017-06-01 16:10:50 +02:00
parent c400414b27
commit 3bfac019a8
3 changed files with 3 additions and 3 deletions

View File

@ -44,7 +44,7 @@ class TestBaseAuthRequests(BaseTest):
# Disable syncing to disk for better performance
self.configuration.set("storage", "filesystem_fsync", "False")
# Required on Windows, doesn't matter on Unix
self.configuration.set("storage", "close_lock_file", "True")
self.configuration.set("storage", "filesystem_close_lock_file", "True")
# Set incorrect authentication delay to a very low value
self.configuration.set("auth", "delay", "0.002")

View File

@ -883,7 +883,7 @@ class BaseFileSystemTest(BaseTest):
# Disable syncing to disk for better performance
self.configuration.set("storage", "filesystem_fsync", "False")
# Required on Windows, doesn't matter on Unix
self.configuration.set("storage", "close_lock_file", "True")
self.configuration.set("storage", "filesystem_close_lock_file", "True")
self.application = Application(self.configuration, self.logger)
def teardown(self):

View File

@ -38,7 +38,7 @@ class TestBaseAuthRequests(BaseTest):
# Disable syncing to disk for better performance
self.configuration.set("storage", "filesystem_fsync", "False")
# Required on Windows, doesn't matter on Unix
self.configuration.set("storage", "close_lock_file", "True")
self.configuration.set("storage", "filesystem_close_lock_file", "True")
def teardown(self):
shutil.rmtree(self.colpath)