Selaa lähdekoodia

Tests: Fail if the initial sync fails

Christian Kamm 6 vuotta sitten
vanhempi
commit
ee3279c904
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      test/syncenginetestutils.h

+ 1 - 1
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<OCC::Vfs> vfs)