Index: test/cctest/test-lockers.cc |
diff --git a/test/cctest/test-lockers.cc b/test/cctest/test-lockers.cc |
index efa2e514af9d315619ac1f1b95ff4dbe0401e52a..77841b5a7fec28ecc7f2f97a9ea1de511bde25a6 100644 |
--- a/test/cctest/test-lockers.cc |
+++ b/test/cctest/test-lockers.cc |
@@ -674,7 +674,11 @@ class IsolateGenesisThread : public JoinableThread { |
// Test installing extensions in separate isolates concurrently. |
// http://code.google.com/p/v8/issues/detail?id=1821 |
TEST(ExtensionsRegistration) { |
+#ifdef V8_TARGET_ARCH_ARM |
+ const int kNThreads = 10; |
+#else |
const int kNThreads = 40; |
+#endif |
v8::RegisterExtension(new v8::Extension("test0", |
kSimpleExtensionSource)); |
v8::RegisterExtension(new v8::Extension("test1", |