[or-cvs] r11043: ratchet down the time spent on threading tests (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Fri Aug 3 07:57:41 UTC 2007


Author: nickm
Date: 2007-08-03 03:57:41 -0400 (Fri, 03 Aug 2007)
New Revision: 11043

Modified:
   tor/trunk/
   tor/trunk/src/or/test.c
Log:
 r13927 at Kushana:  nickm | 2007-08-03 00:56:54 -0700
 ratchet down the time spent on threading tests



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r13927] on c95137ef-5f19-0410-b913-86e773d04f59

Modified: tor/trunk/src/or/test.c
===================================================================
--- tor/trunk/src/or/test.c	2007-08-03 07:57:31 UTC (rev 11042)
+++ tor/trunk/src/or/test.c	2007-08-03 07:57:41 UTC (rev 11043)
@@ -1613,7 +1613,7 @@
   tor_snprintf(buf, sizeof(buf), "%lu", tor_get_thread_id());
   cp = tor_strdup(buf);
 
-  for (i=0; i<100000; ++i) {
+  for (i=0; i<10000; ++i) {
     tor_mutex_acquire(_thread_test_mutex);
     strmap_set(_thread_test_strmap, "last to run", cp);
     ++*count;



More information about the tor-commits mailing list