Skip to content

Commit 809e356

Browse files
authored
Merge pull request #1707 from pbiering/mtime-check-location-change
Mtime check location change
2 parents 63e4148 + c3c61c6 commit 809e356

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* Add: option [auth] type oauth2 by code migration from https://gitlab.mim-libre.fr/alphabet/radicale_oauth/-/blob/dev/oauth2/
66
* Fix: catch OS errors on PUT MKCOL MKCALENDAR MOVE PROPPATCH (insufficient storage, access denied, internal server error)
77
* Test: skip bcrypt related tests if module is missing
8-
* Improve: relax mtime check on storage filesystem
8+
* Improve: relax mtime check on storage filesystem, change test file location to "collection-root" directory
99

1010
## 3.4.1
1111
* Add: option [auth] dovecot_connection_type / dovecot_host / dovecot_port

radicale/storage/multifilesystem/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class Storage(
9494

9595
def _analyse_mtime(self):
9696
# calculate and display mtime resolution
97-
path = os.path.join(self._filesystem_folder, ".Radicale.mtime_test")
97+
path = os.path.join(self._get_collection_root_folder(), ".Radicale.mtime_test")
9898
logger.debug("Storage item mtime resolution test with file: %r", path)
9999
try:
100100
with open(path, "w") as f:

0 commit comments

Comments
 (0)