[Box Backup-dev] COMMIT r652 - box/chris/general/test/bbackupd
boxbackup-dev at fluffy.co.uk
boxbackup-dev at fluffy.co.uk
Wed Jul 19 04:08:58 BST 2006
Author: chris
Date: 2006-07-19 03:08:58 +0000 (Wed, 19 Jul 2006)
New Revision: 652
Modified:
box/chris/general/test/bbackupd/testbbackupd.cpp
Log:
* test/bbackupd/testbbackupd.cpp
- Go back to using wait_for_sync, because force_sync doesn't work (quickly)
and breaks another test when it does eventually happen.
Modified: box/chris/general/test/bbackupd/testbbackupd.cpp
===================================================================
--- box/chris/general/test/bbackupd/testbbackupd.cpp 2006-07-19 03:07:34 UTC (rev 651)
+++ box/chris/general/test/bbackupd/testbbackupd.cpp 2006-07-19 03:08:58 UTC (rev 652)
@@ -1212,10 +1212,8 @@
// Test that locked files cannot be backed up,
// and the appropriate error is reported.
- // force a sync, since otherwise we will have to wait
- // forever because of the ClientStoreMarker error above
// Wait for the sync to finish, so that we have time to work
- sync_and_wait();
+ wait_for_sync();
// Now we have about three seconds to work
HANDLE handle = openfile("testfiles/TestDir1/lockedfile",
More information about the Boxbackup-dev
mailing list