[
https://issues.apache.org/jira/browse/SAMZA-1761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524066#comment-16524066
]
ASF GitHub Bot commented on SAMZA-1761:
---------------------------------------
GitHub user shanthoosh opened a pull request:
https://github.com/apache/samza/pull/565
SAMZA-1761: Reduce runTime of TestZkUtils test from 40s to 800ms.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/shanthoosh/samza SAMZA-1761
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/565.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 #565
----
commit 413b471ee13aae534bfd9489621348eb34e403cf
Author: Shanthoosh Venkataraman <santhoshvenkat1988@...>
Date: 2018-06-26T17:03:22Z
SAMZA-1761: Reduce runTime of a TestZkUtils test from 40s to 800ms.
----
> Reduce runTime of TestZkUtils test.
> ------------------------------------
>
> Key: SAMZA-1761
> URL: https://issues.apache.org/jira/browse/SAMZA-1761
> Project: Samza
> Issue Type: New Feature
> Reporter: Shanthoosh Venkataraman
> Assignee: Shanthoosh Venkataraman
> Priority: Major
>
> Currently the test
> ZkUtils.testRegisterProcessorAndGetIdShouldFailForDuplicateProcessorRegistration
> takesĀ 40 seconds to complete.
> During processor registration if there're duplicate processors in the group
> there's a retry based upon configured zookeeper session timeout(to mitigate
> ephemeral nodes left over from previous run).
> TestĀ takes longer time to run due to high zookeeper session timeout and fix
> is to reduce zookeeper sessionTimeout value to 500 ms for the test.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)