Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

In-memory ZK server for tests #117

Open
dragonsinth opened this issue Apr 21, 2016 · 3 comments
Open

In-memory ZK server for tests #117

dragonsinth opened this issue Apr 21, 2016 · 3 comments

Comments

@dragonsinth
Copy link

Hi,

ZK is a fairly simple model, most of the complexity comes from the distributed aspect. As such, we've done a fair bit of work on implementing an in-memory ZK server, to make it easy to test components that depend on ZK in some regard.

Our approach has been to turn zk.Conn into an interface, which we then have a simple in-memory implementation of for tests.

Does this seem within the scope of this project? We'd be happy to polish it a bit more and contribute if you think it falls within scope.

Best,
Scott

@JensRantil
Copy link

Isn't this already in-place?

@dragonsinth
Copy link
Author

I thought that was an out of process real ZK server? I'm talking about a simple implementation that lives inside the Go process.

@JensRantil
Copy link

@dragonsinth Oh, it might be. Don't know.

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

No branches or pull requests

2 participants