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
path: root/test
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2020-04-01 12:39:56 +0300
committerHannah von Reth <vonreth@kde.org>2020-04-01 14:47:31 +0300
commit7964e47a28411605930d81441400acdb30953c8c (patch)
tree2ba0de53df1267cc1694608e7341151a1aa6c8f5 /test
parent3986a150dcf684d10845d70fa7467f2abbac29c8 (diff)
Test: Disable parallelism to ensure serial execution
Diffstat (limited to 'test')
-rw-r--r--test/testsyncmove.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/testsyncmove.cpp b/test/testsyncmove.cpp
index 9476434fb..b97d38e41 100644
--- a/test/testsyncmove.cpp
+++ b/test/testsyncmove.cpp
@@ -889,6 +889,9 @@ private slots:
const QString src = "folder/folderA/file.txt";
const QString dest = "folder/folderB/file.txt";
FakeFolder fakeFolder{ FileInfo{ QString(), { FileInfo{ QStringLiteral("folder"), { FileInfo{ QStringLiteral("folderA"), { { QStringLiteral("file.txt"), 400 } } }, QStringLiteral("folderB") } } } } };
+ auto syncOpts = fakeFolder.syncEngine().syncOptions();
+ syncOpts._parallelNetworkJobs = 0;
+ fakeFolder.syncEngine().setSyncOptions(syncOpts);
QCOMPARE(fakeFolder.currentLocalState(), fakeFolder.currentRemoteState());