diff options
author | Christian Kamm <mail@ckamm.de> | 2019-02-13 16:18:54 +0300 |
---|---|---|
committer | ckamm <mail@ckamm.de> | 2019-02-14 12:57:09 +0300 |
commit | a627f373b1254c081535fc7ecbcdeb7f6ea3708d (patch) | |
tree | 24e9e8e414676f6649e146f7cb1d7cdfc889be06 /test/testsyncjournaldb.cpp | |
parent | cf4ffd8c7e1d922848ad1e75d1b568e0e714a024 (diff) |
Ensure local discovery on selective sync changesloai_docs
As far as I'm aware local discovery can be skipped on folders that are
selective-sync blacklisted, so a local discovery is required when an
entry is removed from the blacklist.
Also rename
avoidReadFromDbOnNextSync() -> schedulePathForRemoteDiscovery()
since the old name might also imply it's not read from db in the local
discovery - which is not the case. Use Folder::
schedulePathForLocalDiscovery() for that.
Diffstat (limited to 'test/testsyncjournaldb.cpp')
-rw-r--r-- | test/testsyncjournaldb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp index 2a5e98762..ceb23d4cc 100644 --- a/test/testsyncjournaldb.cpp +++ b/test/testsyncjournaldb.cpp @@ -243,7 +243,7 @@ private slots: makeEntry("foodir/subdir/subsubdir/file", fileType); makeEntry("foodir/subdir/otherdir", dirType); - _db.avoidReadFromDbOnNextSync(QByteArray("foodir/subdir")); + _db.schedulePathForRemoteDiscovery(QByteArray("foodir/subdir")); // Direct effects of parent directories being set to _invalid_ QCOMPARE(getEtag("foodir"), invalidEtag); |