Bug 1027921 - Part 6: Increase scalability test load. r=froydnj
authorEric Rahm <erahm@mozilla.com>
Mon, 04 Aug 2014 16:16:33 -0700
changeset 197762 6b218436a219e44c33783fe131bc1cbeb3c0b07a
parent 197761 4501110ca9a71049b2f43c39073003d6f7a089bf
child 197763 d3179cab99a580673a04d77ca098394746e49034
push id1
push userroot
push dateMon, 20 Oct 2014 17:29:22 +0000
reviewersfroydnj
bugs1027921
milestone34.0a1
Bug 1027921 - Part 6: Increase scalability test load. r=froydnj
xpcom/tests/TestDeadlockDetectorScalability.cpp
--- a/xpcom/tests/TestDeadlockDetectorScalability.cpp
+++ b/xpcom/tests/TestDeadlockDetectorScalability.cpp
@@ -170,17 +170,18 @@ main(int argc, char** argv)
 #else
     if (NS_FAILED(LengthNDepChain(1 << 14))) // 16K
         rv = 1;
 #endif
 
 #ifndef DD_TEST2
     puts("Skipping not-requested OneLockNDeps() test");
 #else
-    if (NS_FAILED(OneLockNDeps(1 << 14, 100))) // 16k
+    // NB: Using a larger test size to stress our traversal logic.
+    if (NS_FAILED(OneLockNDeps(1 << 17, 100))) // 131k
         rv = 1;
 #endif
 
 #ifndef DD_TEST3
     puts("Skipping not-requested MaxDepsNsq() test");
 #else
     if (NS_FAILED(MaxDepsNsq(1 << 10, 10))) // 1k
         rv = 1;