Ignore:
Timestamp:
04/11/2007 04:16:26 (5 years ago)
Author:
chris
Message:

Include the time taken by bbackupquery compare in the time between
syncs, used to check that the SyncAllowScript? pauses backup for the
correct length of time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/trunk/test/bbackupd/testbbackupd.cpp

    r1910 r1913  
    16231623                                "syncallowscript.notifyran.2", &st) == 0); 
    16241624 
     1625                        // bbackupquery compare might take a while 
     1626                        // on slow machines, so start the timer now 
     1627                        long start_time = time(NULL); 
     1628 
    16251629                        // check that no backup has run (compare fails) 
    16261630                        compareReturnValue = ::system(BBACKUPQUERY " -q " 
     
    16311635                        TestRemoteProcessMemLeaks("bbackupquery.memleaks"); 
    16321636 
    1633                         long start_time = time(NULL); 
    16341637                        TEST_THAT(unlink(sync_control_file) == 0); 
    16351638                        wait_for_sync_start(); 
Note: See TracChangeset for help on using the changeset viewer.