summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--content/common/gamepad_seqlock_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/common/gamepad_seqlock_unittest.cc b/content/common/gamepad_seqlock_unittest.cc
index 777d804..7e5da3f 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];