zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anmolnar <...@git.apache.org>
Subject [GitHub] zookeeper pull request #497: ZOOKEEPER-2415. SessionTest is using Thread dep...
Date Wed, 28 Mar 2018 15:53:42 GMT
GitHub user anmolnar opened a pull request:

    https://github.com/apache/zookeeper/pull/497

    ZOOKEEPER-2415. SessionTest is using Thread deprecated API

    Refactored `SessionTest` class.
    
    `testSessionTimeout()` has been extracted to a separate class and split into multiple
tests to validate the different scenarios in a more readable way.
    
    Removed deprecated Thread API `suspend()` and reduced the server ticktime and session
timeout for better performance.
    
    Hopefully this will help on test's flakyness too.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-2415

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zookeeper/pull/497.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #497
    
----
commit 64d5af67c4eeb34b6a06c057b5ecf0cdeb4b11df
Author: Andor Molnar <andor@...>
Date:   2018-03-28T15:50:15Z

    ZOOKEEPER-2415. Refactor testSessionTimeout() to live in separate class and not to use
deprecated API. Also improved performance.

----


---

Mime
View raw message