Close lock file when running tests
The name of configuration option was wrong.
This commit is contained in:
parent
c400414b27
commit
3bfac019a8
@ -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")
|
||||
|
||||
|
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user