Tests: Fail if the initial sync fails

This commit is contained in:
Christian Kamm 2019-10-07 14:58:59 +02:00 committed by Kevin Ottens
parent 9d422284af
commit ee3279c904
No known key found for this signature in database
GPG key ID: 074BBBCB8DECC9E2

View file

@ -988,7 +988,7 @@ public:
// A new folder will update the local file state database on first sync.
// To have a state matching what users will encounter, we have to a sync
// using an identical local/remote file tree first.
syncOnce();
ENFORCE(syncOnce());
}
void switchToVfs(QSharedPointer<OCC::Vfs> vfs)