diff options
author | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 17:55:13 +0000 |
---|---|---|
committer | mbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-07-12 17:55:13 +0000 |
commit | 994d493ce5db13d831abec73a859018baed178ab (patch) | |
tree | c74b659b61a0fa6218a013f817ecbc2a7dfad9f9 /sdch | |
parent | a7ea883a61fc3c41addab9a6d6aa3f9f0e95b994 (diff) | |
download | chromium_src-994d493ce5db13d831abec73a859018baed178ab.zip chromium_src-994d493ce5db13d831abec73a859018baed178ab.tar.gz chromium_src-994d493ce5db13d831abec73a859018baed178ab.tar.bz2 |
Fix a race condition in the unit test. The MockPending jobs actually
induce a slight delay between the time the connect is called and when
the posted task can complete. We weren't waiting for the 2ms to
elapse before expecting that it had completed.
BUG=47836
TEST=self
Review URL: http://codereview.chromium.org/2893010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52101 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sdch')
0 files changed, 0 insertions, 0 deletions