[
https://issues.apache.org/jira/browse/ZOOKEEPER-2415?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16449848#comment-16449848
]
ASF GitHub Bot commented on ZOOKEEPER-2415:
-------------------------------------------
GitHub user anmolnar opened a pull request:
https://github.com/apache/zookeeper/pull/506
ZOOKEEPER-2415 SessionTest is using Thread deprecated API. (branch-3.4)
This is the 3.4 version of https://github.com/apache/zookeeper/pull/497
It also include the following patch which was a dependency of the 3.5
version:
https://github.com/apache/zookeeper/commit/2b8f98be7407da4417dd192f3de4605a99e3cd15
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/anmolnar/zookeeper ZOOKEEPER-2415_24
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zookeeper/pull/506.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 #506
----
commit 58a228bd4b6c70730e695edc940373d16c5bed70
Author: Michi Mutsuzaki <michim@...>
Date: 2014-04-01T02:03:02Z
ZOOKEEPER-1730. Make ZooKeeper easier to test - support simulating a
session expiration (Jordan Zimmerman via michim)
git-svn-id: https://svn.apache.org/repos/asf/zookeeper/trunk@1583513
13f79535-47bb-0310-9956-ffa450edef68
commit 900a7dc1456c477f0650fdb24d59bf3ec0012565
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.
----
> SessionTest is using Thread deprecated API.
> -------------------------------------------
>
> Key: ZOOKEEPER-2415
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2415
> Project: ZooKeeper
> Issue Type: Test
> Components: tests
> Affects Versions: 3.4.8, 3.5.1, 3.6.0
> Reporter: Flavio Junqueira
> Assignee: Andor Molnar
> Priority: Major
> Fix For: 3.5.4, 3.6.0, 3.4.13
>
>
> The test class is using calls such as {{Thread.suspend}} and
> {{Thread.resume}}.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)