Improve the run time of base_unittests by about 20s by reducing timeouts in
the following tests:
ObserverListThreadSafeTest.CrossThreadObserver
ObserverListThreadSafeTest.CrossThreadNotifications
ThreadCollisionTest.MTSynchedScopedBookCriticalSectionTest
ThreadCollisionTest.MTSynchedScopedRecursiveBookCriticalSectionTest
TEST=Covered by base_unittests.
BUG=none
Review URL: http://codereview.chromium.org/369001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31112 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/base/observer_list_unittest.cc b/base/observer_list_unittest.cc
index 332de367f..ba4b5de 100644
--- a/base/observer_list_unittest.cc
+++ b/base/observer_list_unittest.cc
@@ -83,7 +83,7 @@
class ObserverListThreadSafeTest : public testing::Test {
};
-static const int kThreadRunTime = 10000; // ms to run the multi-threaded test.
+static const int kThreadRunTime = 2000; // ms to run the multi-threaded test.
// A thread for use in the ThreadSafeObserver test
// which will add and remove itself from the notification