]> dgit.raspbian.org Git - nextcloud-desktop.git/commit
SyncEngineTestUtils: Do don't allocate a buffer for the whole file
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 15 Nov 2016 10:39:40 +0000 (11:39 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 15 Nov 2016 10:39:40 +0000 (11:39 +0100)
commit92027e869230d82de1bbbd0d486ebf14bfc471f7
tree58e3561a76dc58d91c0e8d60effd4b0bca3a42ba
parent5377d1e283ffccb1ad6a8771d5618854175a48e8
SyncEngineTestUtils: Do don't allocate a buffer for the whole file

As the file can be some hunreds of megabytes, allocating such big arrays may
cause problems.

Also make the timeout a bit bigger so the test can rununder valgrind.
test/syncenginetestutils.h