You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Patrick Hunt (JIRA)" <ji...@apache.org> on 2018/05/29 23:37:00 UTC

[jira] [Created] (ZOOKEEPER-3052) testReadOnly fails on slow host

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)