Fix the test WebSocket...UnlockEndpointIsDelayed
commit6da0ff6aa4f4eedeeda88dd641fdbc1a2fd0e1fb
authorricea <ricea@chromium.org>
Tue, 27 Jan 2015 08:15:19 +0000 (27 00:15 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 27 Jan 2015 08:34:47 +0000 (27 08:34 +0000)
tree8ec0a085869da8351788baa605ae3f312cd4f97d
parent67960244082aee3543d82f0c2f22a3eb93c8c445
Fix the test WebSocket...UnlockEndpointIsDelayed

Test WebSocketEndpointLockManagerTest.UnlockEndpointIsDelayed failed on
the Chromium Memory FYI on Chromium Mac (valgrind)(2) bot. Change the
test to measure the time taken, rather than wait the expected amount
of time, which should make it more deterministic.

BUG=442756, 451999
TEST=net_unittests

Review URL: https://codereview.chromium.org/871843003

Cr-Commit-Position: refs/heads/master@{#313243}
net/socket/websocket_endpoint_lock_manager_unittest.cc
tools/valgrind/gtest_exclude/net_unittests.gtest_linux.txt
tools/valgrind/gtest_exclude/net_unittests.gtest_mac.txt