Patrick Hunt updated ZOOKEEPER-516:

    Attachment: ZOOKEEPER-516.patch

this patch gets the time under 10min for 

ant -Dtest.quick=yes -Dtest.junit.fork.mode=once clean test

on my old/slow/singlecore laptop. notice that this is from "clean" so no only 
are the tests being
run but the code (java and c) is included in the time as well.

Notes - Java:
My laptop I was able to reduce the runtime by over 30% just by cleaning up waits
fixed a problem in fork once mode for superuser auth
test.quick (off by default) when turned on will skip the hammer tests
cleanuped the client cleanup test - instead of forcing us to run out of fds I 
use the jvm instrumentation
  to monitor the number of active fds. (although this really just works on unix)

Notes - C/C++:
I added elapsed time for each of the tests 
I didn't change much here wrt timing. there's some time that could be saved 
(esp around client est)
I did fix the logging of zk client output - it was turned off for some reason 
(now output similar to java clients)
I also fixed some of the logging formats used (esp around hex formatting of 

> add support for 10 minute test ie "pre-commit" test
> ---------------------------------------------------
>                 Key: ZOOKEEPER-516
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-516
>             Project: Zookeeper
>          Issue Type: Task
>          Components: tests
>            Reporter: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.3.0
>         Attachments: ZOOKEEPER-516.patch
> Our unit tests are now taking > 10 minutes (20 actually). We need to set 
> things up such that we have a < 10 minute "pre commit" build, and a longer 
> running test of tests (unbounded for all intents/purposes). Mainly this 
> requires us to categorize our tests.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

Reply via email to