Index: content/common/gamepad_seqlock_unittest.cc |
diff --git a/content/common/gamepad_seqlock_unittest.cc b/content/common/gamepad_seqlock_unittest.cc |
index 777d804368f4b159de4638d6de5440f974e53f3c..7e5da3f81466731fc76aa29ab53fee352796074b 100644 |
--- a/content/common/gamepad_seqlock_unittest.cc |
+++ b/content/common/gamepad_seqlock_unittest.cc |
@@ -36,7 +36,7 @@ class BasicSeqLockTestThread : public PlatformThread::Delegate { |
PlatformThread::YieldCurrentThread(); |
} |
- for (unsigned i = 0; i < 10000; ++i) { |
+ for (unsigned i = 0; i < 1000; ++i) { |
TestData copy; |
base::subtle::Atomic32 version; |
do { |
@@ -66,7 +66,7 @@ TEST(GamepadSeqLockTest, ManyThreads) { |
ANNOTATE_BENIGN_RACE_SIZED(&data, sizeof(data), "Racey reads are discarded"); |
- static const unsigned kNumReaderThreads = 100; |
+ static const unsigned kNumReaderThreads = 10; |
BasicSeqLockTestThread threads[kNumReaderThreads]; |
PlatformThreadHandle handles[kNumReaderThreads]; |