kafka-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ewe...@apache.org
Subject kafka git commit: MINOR: Increase timeout of Zookeeper service in system tests
Date Thu, 31 Aug 2017 21:53:51 GMT
Repository: kafka
Updated Branches:
  refs/heads/trunk ded874117 -> 75070bdb5

MINOR: Increase timeout of Zookeeper service in system tests

The previous timeout was 10 seconds, but system test failures have occurred when Zookeeper
has started after about 11 seconds. Increasing the timeout to 30 seconds, since most of the
time this extra time will not be required, and when it is it will prevent a failed system

In addition to merging to `trunk`, please backport to the `0.11.x` and `0.10.2.x` branches.

Author: Randall Hauch <rhauch@gmail.com>

Reviewers: Ewen Cheslack-Postava <ewen@confluent.io>

Closes #3774 from rhauch/MINOR-Increase-timeout-of-zookeeper-service-in-system-tests

Project: http://git-wip-us.apache.org/repos/asf/kafka/repo
Commit: http://git-wip-us.apache.org/repos/asf/kafka/commit/75070bdb
Tree: http://git-wip-us.apache.org/repos/asf/kafka/tree/75070bdb
Diff: http://git-wip-us.apache.org/repos/asf/kafka/diff/75070bdb

Branch: refs/heads/trunk
Commit: 75070bdb5d70cc0b2f52faf4f769144f68f02ee2
Parents: ded8741
Author: Randall Hauch <rhauch@gmail.com>
Authored: Thu Aug 31 14:53:44 2017 -0700
Committer: Ewen Cheslack-Postava <me@ewencp.org>
Committed: Thu Aug 31 14:53:44 2017 -0700

 tests/kafkatest/services/zookeeper.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/kafkatest/services/zookeeper.py b/tests/kafkatest/services/zookeeper.py
index b469c0c..dcf0eb8 100644
--- a/tests/kafkatest/services/zookeeper.py
+++ b/tests/kafkatest/services/zookeeper.py
@@ -82,7 +82,7 @@ class ZookeeperService(KafkaPathResolverMixin, Service):
         start_cmd += "%s/zookeeper.properties &>> %s &" % (ZookeeperService.ROOT,
-        wait_until(lambda: self.listening(node), timeout_sec=10, err_msg="Zookeeper node
failed to start")
+        wait_until(lambda: self.listening(node), timeout_sec=30, err_msg="Zookeeper node
failed to start")
     def listening(self, node):

View raw message