Pārlūkot izejas kodu

Tests: Fail if the initial sync fails

Christian Kamm 6 gadi atpakaļ
vecāks
revīzija
ee3279c904
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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)