Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 11, 2012
  1. @abh1nay

    fixed test case

    abh1nay committed
  2. @abh1nay

    Changed test case to Junit 4

    abh1nay committed
  3. @abh1nay

    Fixed comment

    abh1nay committed
     Please enter the commit message for your changes. Lines starting
  4. @abh1nay

    Added unit test

    abh1nay committed
Commits on Oct 10, 2012
  1. @jayjwylie
  2. @jayjwylie
Commits on Oct 9, 2012
  1. @jayjwylie
  2. @jayjwylie

    Changes to make tight timing tests for QueuedKeyedResourcePool and Sl…

    jayjwylie committed
    …owStorageEngine less sensitive on slower machines.
  3. @jayjwylie
  4. @jayjwylie

    bumped up test timeouts since Hudson seems slower than local machine …

    jayjwylie committed
    …for contention experiments.
  5. @jayjwylie

    Copyright statement cleanup.

    jayjwylie committed
  6. @jayjwylie
  7. @jayjwylie

    Added Jmx interfaces for all queue stats we now track. Updated Client…

    jayjwylie committed
    …SocketStatsTest as well.
    Added a big TODO expressing concern over how statistics are tracked with suggestions for improvements.
  8. @jayjwylie
  9. @jayjwylie

    Implementations of various async vs sync queueing policies for socket…

    jayjwylie committed
    … checkout. Two commented out policies are included in this commit.
    - a few TODOs to be investigated before completing work on async checkouts
    - a couple helper methods for implementing/debugging queueing policies
    - refactor to clean up checkin method
    - TODOs for further code cleanup
    - cleaned up all methods for tracking stats, added stats tracking of length of synchronous queue
    - various aspects of (commented out) socket checkout queuing policies
    - fixes to async socket checkout
    - various aspects of (commented out) socket checkout queuing policies
    - TODOs for further code cleanup
    - cleaned up stats tracking for async queue length
    - minor tweaks/cleanup
  10. @jayjwylie

    Addressed most of the feedback from the code review.

    jayjwylie committed
    - Renamed many variables, methods & classes
    - Addressed most of the TODOs in my changes based on the feedback
  11. @jayjwylie

    Fix the problems with the RebalanceTest when using the revised

    jayjwylie committed
    KeyedResourcePool. The test setup worked before the changes
    because the KeyedResourcePool did not aquire resources until
    full. With the new behavior, there is some mismatch between pool
    sizes and numbers of threads. Increasing the number of admin
    threads fixes the issue. There may be a better way of fixing this
  12. @jayjwylie
  13. @jayjwylie

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

    jayjwylie committed
    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
    Upped the memory allowed for all junit tets in ant from 1024m to
    2048m since I ran into ant out of memory errors.
  14. @jayjwylie

    Change SlowStorageEngineTest to avoid JUnit assertions in worker

    jayjwylie committed
    threads. Also removed JUnit4 style annotations (@Test) since this
    is actually a Junit3 style test (because it extends other Junit3
    style tests that extend TestCase).
  15. @jayjwylie

    Added unit test for QueuedKeyedResourcePool. Minor clean up of

    jayjwylie committed
    QueuedKeyedResourcePool and of KeyedResourcePoolTest. Still one
    outstanding TODO in QueuedKeyedResourcePool wrt semantics of
    close(K key) method.
  16. @jayjwylie

    Clean up of KeyedResourcePool and significant hardening of the unit t…

    jayjwylie committed
    - Documented the invariants (or lack thereof) guaranteed by this class.
    - Documented this classes expectations of its users.
    - Moved attemptGrow into the inner Pool class.
    - Got rid of the attemptCheckoutGrowCheckout method. ;)
    - tweaked to match revised attemptGrow interface
    - Added a bunch of 'negative' tests. I.e., they demonstrate
      non-desirable behavior of current KeyedResourcePool.
    - Added a contention test that has many threads checkout,
      possibly invalidate, and then checkin resources for some key.
  17. @jayjwylie

    Adding a SlowStorageEngine to permit end-to-end testing with slow

    jayjwylie committed
    servers in a cluster.
    - The SlowStorageEngine/Configuration is inspired by the
      SlowStore used in other unit tests. The SlowStorageEngine
      produces delays on a per-operation-type basis. Delays can
      either be concurrent or queued: concurrent delays can overlap
      in time, queued delays occur in serial.
    - Added config options for SlowStorageEngine
    - Unit test to confirm queued/concurrent delay behavior of a single SlowStorageEngine
Commits on Sep 21, 2012
  1. Merge branch 'master' of into autoboot…

    Chinmay Soman committed
  2. Final review comments correction for autobootstrapper: Copyright, doc…

    Chinmay Soman committed
    …umentation and variable naming convention
Commits on Sep 20, 2012
  1. Fixed the merge issues from master. Fixed a bug in SocketStoreClientF…

    Chinmay Soman committed
Commits on Sep 19, 2012
  1. @zhongjiewu
Commits on Sep 14, 2012
  1. Bug fix in AsyncMetadataVersionManager. Client config parameters adde…

    Chinmay Soman committed
    …d for System store. Changed AdminClient to use a Timestamp instead of a counter for metadata version
Commits on Sep 13, 2012
  1. @zhongjiewu
Commits on Sep 11, 2012
  1. Added a instantInit flag to LazyClientStore, removed DefaultSocketSto…

    Chinmay Soman committed
    …reClientTest, returning DefaultStoreClient for Http protocol
Commits on Sep 6, 2012
  1. Added tests for auto-rebootstrap, Failure detector fix to track just …

    Chinmay Soman committed
    …one state of the topology (instead of immutable states), added ZenStoreClient
  2. @zhongjiewu
  3. @zhongjiewu

    Minor changes to tests

    zhongjiewu committed
  4. @zhongjiewu

    More tests for getall fix

    zhongjiewu committed
Something went wrong with that request. Please try again.