[Pkg-owncloud-commits] [owncloud-client] 64/135: TestSyncJournalDB: Fix concurrent usage on CI

Sandro Knauß hefee at debian.org
Sat Sep 9 14:28:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

hefee pushed a commit to branch master
in repository owncloud-client.

commit f49985697bbda412d5ad12534f405ec2ac3ab037
Author: Markus Goetz <markus at woboq.com>
Date:   Mon Jul 3 14:08:10 2017 +0200

    TestSyncJournalDB: Fix concurrent usage on CI
---
 test/testsyncjournaldb.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp
index fa6021a..3787eb4 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)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list