diff options
author | Hannah von Reth <hannah.vonreth@owncloud.com> | 2022-06-21 15:57:36 +0300 |
---|---|---|
committer | Hannah von Reth <vonreth@kde.org> | 2022-06-30 14:29:47 +0300 |
commit | 39e0b82df6d67eb669c003d267f9b7ef897b846c (patch) | |
tree | f20cfdf001e5cf953ae7cdd6799200055f59304e /test | |
parent | 2dd730d466dc1b2a2a244cacb066a2db2cbb65f4 (diff) |
Don't recreate db after it was closed
Diffstat (limited to 'test')
-rw-r--r-- | test/testpermissions.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/testpermissions.cpp b/test/testpermissions.cpp index e0cafd0a3..8e611d013 100644 --- a/test/testpermissions.cpp +++ b/test/testpermissions.cpp @@ -39,6 +39,7 @@ static void assertCsyncJournalOk(SyncJournalDb &journal) #if defined(Q_OS_WIN) // Make sure the file does not appear in the FileInfo FileSystem::setFileHidden(journal.databaseFilePath() + "-shm", true); #endif + journal.allowReopen(); } SyncFileItemPtr findDiscoveryItem(const SyncFileItemSet &spy, const QString &path) |