Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Goetz <markus@woboq.com>2017-07-03 15:08:10 +0300
committerMarkus Goetz <markus@woboq.com>2017-07-03 15:08:39 +0300
commitf49985697bbda412d5ad12534f405ec2ac3ab037 (patch)
treee76ca7a8baaada3d01e4cddca8d2cad53d223716 /test/testsyncjournaldb.cpp
parent2a410217e21639e479f4f5b2643fb09647c8b963 (diff)
TestSyncJournalDB: Fix concurrent usage on CI
Diffstat (limited to 'test/testsyncjournaldb.cpp')
-rw-r--r--test/testsyncjournaldb.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp
index fa6021acc..3787eb4c1 100644
--- a/test/testsyncjournaldb.cpp
+++ b/test/testsyncjournaldb.cpp
@@ -17,10 +17,11 @@ class TestSyncJournalDB : public QObject
{
Q_OBJECT
+ QTemporaryDir _tempDir;
public:
- TestSyncJournalDB()
- : _db("/tmp/csync-test.db")
+ TestSyncJournalDB() : _db((_tempDir.path() + "/sync.db"))
{
+ QVERIFY(_tempDir.isValid());
}
QDateTime dropMsecs(QDateTime time)