Patrick Hunt created ZOOKEEPER-3052:
---------------------------------------
Summary: 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
Fix For: 3.6.0, 3.5.5
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
(v7.6.3#76005)