mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-10 18:40:53 +00:00
Close lock file when running tests
The name of configuration option was wrong.
This commit is contained in:
parent
c400414b27
commit
3bfac019a8
3 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ class TestBaseAuthRequests(BaseTest):
|
||||||
# Disable syncing to disk for better performance
|
# Disable syncing to disk for better performance
|
||||||
self.configuration.set("storage", "filesystem_fsync", "False")
|
self.configuration.set("storage", "filesystem_fsync", "False")
|
||||||
# Required on Windows, doesn't matter on Unix
|
# 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
|
# Set incorrect authentication delay to a very low value
|
||||||
self.configuration.set("auth", "delay", "0.002")
|
self.configuration.set("auth", "delay", "0.002")
|
||||||
|
|
||||||
|
|
|
@ -883,7 +883,7 @@ class BaseFileSystemTest(BaseTest):
|
||||||
# Disable syncing to disk for better performance
|
# Disable syncing to disk for better performance
|
||||||
self.configuration.set("storage", "filesystem_fsync", "False")
|
self.configuration.set("storage", "filesystem_fsync", "False")
|
||||||
# Required on Windows, doesn't matter on Unix
|
# 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)
|
self.application = Application(self.configuration, self.logger)
|
||||||
|
|
||||||
def teardown(self):
|
def teardown(self):
|
||||||
|
|
|
@ -38,7 +38,7 @@ class TestBaseAuthRequests(BaseTest):
|
||||||
# Disable syncing to disk for better performance
|
# Disable syncing to disk for better performance
|
||||||
self.configuration.set("storage", "filesystem_fsync", "False")
|
self.configuration.set("storage", "filesystem_fsync", "False")
|
||||||
# Required on Windows, doesn't matter on Unix
|
# 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):
|
def teardown(self):
|
||||||
shutil.rmtree(self.colpath)
|
shutil.rmtree(self.colpath)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue