You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@zookeeper.apache.org by "Enrico Olivelli (Jira)" <ji...@apache.org> on 2019/09/06 15:42:06 UTC
[jira] [Updated] (ZOOKEEPER-3052) testReadOnly fails on slow host
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Enrico Olivelli updated ZOOKEEPER-3052:
---------------------------------------
Fix Version/s: 3.5.7
> testReadOnly fails on slow host
> -------------------------------
>
> Key: ZOOKEEPER-3052
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3052
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client, tests
> Affects Versions: 3.6.0, 3.5.5
> Reporter: Patrick Hunt
> Priority: Major
> Labels: newbie
> Fix For: 3.6.0, 3.5.6, 3.5.7
>
>
> When running on a slow host (docker ubuntu on mac) the "sleep(3)" in tests/zkServer.sh is not sufficient wait for the server to enter RO mode. Recommend adding a "isro" 4lw check in the script to wait until the server is in RO mode. If this takes longer than 60 seconds the zkServer.sh should fail.
> For more background see the comment here:
> https://github.com/apache/zookeeper/pull/522#issuecomment-392980087
--
This message was sent by Atlassian Jira
(v8.3.2#803003)