From: Christian Kamm Date: Mon, 7 Oct 2019 12:58:59 +0000 (+0200) Subject: Tests: Fail if the initial sync fails X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~21^2~468^2~172 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ee3279c904748ce2ea33b6b839fcaf3c8ed4cfe4;p=nextcloud-desktop.git Tests: Fail if the initial sync fails --- diff --git a/test/syncenginetestutils.h b/test/syncenginetestutils.h index 5f2e447bf..0774f2a97 100644 --- a/test/syncenginetestutils.h +++ b/test/syncenginetestutils.h @@ -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 vfs)