Skip to content

Test server fixes#132

Merged
seancribbs merged 2 commits intobasho:masterfrom
pteichman:test-server-fixes
Jun 22, 2012
Merged

Test server fixes#132
seancribbs merged 2 commits intobasho:masterfrom
pteichman:test-server-fixes

Conversation

@pteichman
Copy link
Copy Markdown
Contributor

Two minor fixes for the test server:

  1. The erl_src files for the in-memory test store are included in setup.py, which gets them installed if they're present, but there's a bad path to them in MANIFEST.in so they aren't included in the source distribution.

  2. riak/test_server.py attempts to use socket (socket.create_connection() & socket.error) without importing it.

Without a proper path to erl_src, the TestServer memory backends
aren't included and TestServer cannot start.
This fixes a few NameError exceptions when attempting to
use TestServer, which attempts to create socket connections
and handle socket.error without importing it.
@seancribbs
Copy link
Copy Markdown

@pteichman Looks good, thanks!

seancribbs pushed a commit that referenced this pull request Jun 22, 2012
@seancribbs seancribbs merged commit 2f73204 into basho:master Jun 22, 2012
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