Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waitUntilPropogated probably does not need to sleep for 1/2 a minute #43

Open
stephentu opened this issue Nov 22, 2010 · 2 comments
Open

Comments

@stephentu
Copy link
Member

ZooKeeperProxy's waitUntilPropogated probably does not need to wait 1/2 a minute - it's making the test cases run slow because we spend at least a minute in Thread.sleep(). i move we change the time to something more reasonable, like 5 seconds.

@marmbrus
Copy link
Member

So the problem is that this needs to be the same as the connection timeout for zookeeper. We could use a different time out for the test zookeeper (since the tests will be be running on the same machine as zookeeper). However, I don't think we want to decrease the default timeout for zookeeper proxy as lower timeouts tend to break experiments.

@marmbrus
Copy link
Member

marmbrus commented Dec 8, 2010

this is now fixed for testcases. however we may want to keep this issue open if propagation time is going to be an issue for the director

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants