Sorry I didn't catch the problem with src/c/tests/zkServer.sh invoking ZooKeeperMain directly.
The only issue I had with your proposed patch here is that the original problem I encountered in
ZOOKEEPER-326 returns – if you start a standalone server using QuorumPeerMain, it ignores tickTime settings there again. This contradicts the information here:
and it also just would be nice, I think, for the standard zkServer.sh (which uses QuorumPeerMain) and standard config file to work fully for standalone installations out of the box.
My revisions in the attached patch allow ZooKeeperMain to take a single config file as an alternate set of arguments, in which case it works like QuorumPeerMain. This seems to resolve both my original issue, support the addition of a command-line tickTime argument as per your patch, and allow the src/c/tests/zkServer.sh script to work as-is.