]> granicus.if.org Git - libevent/commitdiff
Make test-changelist faster
authorNick Mathewson <nickm@torproject.org>
Fri, 27 Jan 2012 20:10:28 +0000 (15:10 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 27 Jan 2012 20:10:28 +0000 (15:10 -0500)
test/test-changelist.c

index 1b2af0e8ad51b98ac0ef8251733c34ea147061f5..d944d1f231b158bdb903004c290fdf8b63ca48d5 100644 (file)
@@ -169,8 +169,8 @@ main(int argc, char **argv)
        /* and watch for writability on one end of the pipe */
        ev = event_new(base,pair[1],EV_WRITE | EV_PERSIST, write_cb, &ev);
 
-       tv.tv_sec  = 5;
-       tv.tv_usec = 0;
+       tv.tv_sec  = 1;
+       tv.tv_usec = 500*1000;
 
        evtimer_add(timeout, &tv);