summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 22:44:07 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-26 22:44:07 +0000
commiteda84cb6cc7d9fe525497ee6e2d599c8fbc66ea0 (patch)
tree93f6f276a238fd5496705aa468af291ae30a89f4 /skia
parent53c59cb0b7d479dee6629b4bf0bd6d28eef7d872 (diff)
downloadchromium_src-eda84cb6cc7d9fe525497ee6e2d599c8fbc66ea0.zip
chromium_src-eda84cb6cc7d9fe525497ee6e2d599c8fbc66ea0.tar.gz
chromium_src-eda84cb6cc7d9fe525497ee6e2d599c8fbc66ea0.tar.bz2
Significantly speed up sync integration tests.
The sync integration tests currently use the method AwaitSyncCycleCompletion(), which ends up waiting for a sync event before it signals the end of a sync cycle. However, if it is called after the sync cycle is already complete, it ends up waiting for several seconds for a random unrelated sync event before it returns. This checkin fixes this unnecessary delay by checking to see if the client has any unsynced items before it waits, thereby significantly speeding up the sync integration tests. In addition to this, a new method called AwaitQuiescence() is now available to test cases so they can wait for racy updates initiated by multiple clients to propagate across the system. BUG=49998 TEST=sync_integration_tests Review URL: http://codereview.chromium.org/3041018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53712 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
0 files changed, 0 insertions, 0 deletions