Browse Source

r13927@Kushana: nickm | 2007-08-03 00:56:54 -0700
ratchet down the time spent on threading tests


svn:r11043

Nick Mathewson 18 years ago
parent
commit
68e6426c23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/test.c

+ 1 - 1
src/or/test.c

@@ -1613,7 +1613,7 @@ _thread_test_func(void* _s)
   tor_snprintf(buf, sizeof(buf), "%lu", tor_get_thread_id());
   tor_snprintf(buf, sizeof(buf), "%lu", tor_get_thread_id());
   cp = tor_strdup(buf);
   cp = tor_strdup(buf);
 
 
-  for (i=0; i<100000; ++i) {
+  for (i=0; i<10000; ++i) {
     tor_mutex_acquire(_thread_test_mutex);
     tor_mutex_acquire(_thread_test_mutex);
     strmap_set(_thread_test_strmap, "last to run", cp);
     strmap_set(_thread_test_strmap, "last to run", cp);
     ++*count;
     ++*count;