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

Problem: We have no tests and we must scream. #5

Merged
merged 1 commit into from
Oct 9, 2015
Merged

Problem: We have no tests and we must scream. #5

merged 1 commit into from
Oct 9, 2015

Conversation

taotetek
Copy link
Contributor

@taotetek taotetek commented Oct 9, 2015

  • Add a starting Channeler implementation that matches the API from goczmq.Channeler, and does nothing.
  • Add a test that fails.

Note that this PR adds a dependency on goczmq. It uses a goczmq Pull socket in the test. When we have a pure go implementation of Channeler that can pass this test by connecting to a goczmq Pull socket and sending a valid message, we'll have passed a hurdle.

Note that I chose Push / Pull for this first test because they are very simple sockets. Client / Server sockets have the additional overhead of handling client ids. Pub / Sub sockets have the added complexity of dealing with subscription messages. So, let's get a simple unidirectional message between a pure go Push and a goczmq Pull working first.

hintjens added a commit that referenced this pull request Oct 9, 2015
Problem: We have no tests and we must scream.
@hintjens hintjens merged commit 7cd549e into zeromq:master Oct 9, 2015
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

Successfully merging this pull request may close these issues.

2 participants