Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 17, 2012
  1. @jayjwylie

    Hardened junit long test RebalanceLongTest.java. Other test hardening.

    jayjwylie authored
    build.xml
    - bumped all maxmemory settings to 2048m
    - Placed a 90 minute timeout on the long test at ant level.
    
    test/long/voldemort/client/rebalance/RebalanceLongTest.java
    - null out some objects in the hopes of reducing the overall memory footprint of these tests. We are truly abusing junit with a long-running, multi-threaded test, that has 10 sub tests and 4 distinct parameter settings.
    
    test/unit/voldemort/client/rebalance/AbstractRebalanceTest.java
    - start of tests is not clear in junit log output. Added logger.info to start of tests to make grepping through the log when tests have failed badly and/or are running in an infitie loop easier.
    - Bumped each test timeout up to 10 minutes. Again, note abuse of junit: tests should not be defined at the abstract class level. This makes it hard to set appropriate limits (such as timeout) for each specific test. Long tests should have a different timeout than short tests...
Commits on Oct 9, 2012
  1. @jayjwylie

    Wrapped tests that hang because of my changes with timeouts. This

    jayjwylie authored
    is necessary for me to debug these tests and easily run all the
    other tests. (By 'hang', I mean get into a state where clients
    run forever complaining that there are not enough servers.)
    Wrapping with timeouts is done both at the Junit
    level (i.e., "@Test(timeout = ...")  and at the ant level (i.e.,
    for an entire unit test).
    
    Switched the tests I was touching to use Junit4 idiom rather than
    Junit3 idiom. I.e., removed the 'extends TestCase' from the class
    declaration.
    
    Upped the memory allowed for all junit tets in ant from 1024m to
    2048m since I ran into ant out of memory errors.
  2. @jayjwylie

    Made ant target 'junit-test' produce a report like all the other

    jayjwylie authored
    junit ant targets. The report is useful because for a test class
    with many sub-tests, the report clearly explains which sub-tests
    failed. Unlike other ant junit targets, this target also produce
    a plain text report. The plain text report is useful for running
    a single test in a loop until it fails.
    
    Clarified the help message for the 'junit-test' ant target.
Commits on Sep 20, 2012
  1. Fixed the merge issues from master. Fixed a bug in SocketStoreClientF…

    Chinmay Soman authored
    …actoryMbeanTest
Commits on Jul 23, 2012
  1. @pbailis
Commits on Jul 11, 2012
  1. @zhongjiewu
Commits on Jun 27, 2012
  1. add version and update time to client registry

    Lei Gao authored
Commits on Jun 19, 2012
  1. @zhongjiewu @vinothchandar
  2. @zhongjiewu @vinothchandar

    renamed large as long to make files consistent

    zhongjiewu authored vinothchandar committed
  3. @zhongjiewu @vinothchandar

    Modified the test and build file to shrink the large tests.

    zhongjiewu authored vinothchandar committed
        The large tests are copied to the test/large
        To run short tests for sanity check purpose:
            ant junit
        To run short and long tests:
            ant junit-long
        To run short, long and contrib tests:
            ant junit-all
Commits on Jul 14, 2011
  1. @rsumbaly

    Java doc changes

    rsumbaly authored
Commits on Apr 12, 2011
  1. @rsumbaly

    Adding junit-test target to build.xml - This allows you to run indivi…

    rsumbaly authored
    …dual unit tests as follows - ant junit-test -Dtest.name=<class_name>
Commits on Mar 29, 2011
  1. @rsumbaly

    Revert "Add Ant tasks to measure the code coverage of the unit tests …

    rsumbaly authored
    …using the Cobertura"
    
    Reverting it since it pollutes the junit output
    This reverts commit c6a9034.
Commits on Feb 18, 2011
  1. @haroldl @afeinberg

    Add Ant tasks to measure the code coverage of the unit tests using th…

    haroldl authored afeinberg committed
    …e Cobertura
    
    library (http://cobertura.sourceforge.net/).  A nice introductory article can be
    found at http://www.ibm.com/developerworks/java/library/j-cobertura/
    
    The results are reported both in HTML format for humans, and in an XML format
    suitable for other tools, such as the Cobertura plugin for the Hudson continuous
    integration server.
    
    To view the report, run "ant coverage" and then view the
    dist/coverage/html/index.html file in your browser.
Commits on Dec 27, 2010
  1. @mebigfatguy @afeinberg
Commits on Nov 25, 2010
  1. cleanup python client and add JSON serialization support to it

    Jonathan Traupman authored
Commits on Nov 19, 2010
  1. @afeinberg
Commits on Aug 6, 2010
  1. @rsumbaly
Commits on Aug 5, 2010
  1. @rsumbaly
Commits on Jul 10, 2010
  1. @jkreps

    Given that we are stuck with a number of deprecated apis we have to c…

    jkreps authored
    …all, best to supress deprecation warnings.
Commits on Jun 24, 2010
  1. @rsumbaly
Commits on Dec 24, 2009
  1. @afeinberg
Commits on Dec 18, 2009
  1. @afeinberg
Commits on Dec 4, 2009
  1. @kirktrue @afeinberg

    Removed syspropertyset passage of properties in the ec2testing-junit …

    kirktrue authored afeinberg committed
    …Ant task. Also allowing overrides of the properties from the EC2 properties file via system properties
  2. @kirktrue @afeinberg

    Attempting to pass logging options to the JUnit runner

    kirktrue authored afeinberg committed
  3. @kirktrue @afeinberg

    Work to add JUnit test target for EC2, catch the error 143 exit code (h…

    kirktrue authored afeinberg committed
    …ttp://forums.sun.com/thread.jspa?threadID=5136911), allowing suppressing of error messages on cluster shut down, and renaming SmokeTest to Ec2SmokeTest (for pattern matching in the unit test Ant task).
Commits on Nov 29, 2009
  1. @afeinberg
Commits on Nov 18, 2009
  1. @bbansal

    unit test fixes.

    bbansal authored
Commits on Nov 16, 2009
  1. @bbansal

    Fixed unit tests.

    bbansal authored
Commits on Nov 5, 2009
  1. @bbansal
Commits on Oct 23, 2009
  1. @kirktrue

    Fixed build problem.

    kirktrue authored
Commits on Oct 1, 2009
Commits on Jul 10, 2009
  1. @jkreps
Commits on Jun 29, 2009
  1. @bbansal
Commits on Jun 26, 2009
  1. @bbansal

    Fixed snapshot naming issue if BUILD_NUMBER set to "".

    bbansal authored
    ant conditions just check if the property isset or not.
    there is no easy way to unset a property in general added
    an additional check for empty strings in $BUILD_NUMBER to set
    the snapshot name for ant snapshot target.
Something went wrong with that request. Please try again.