Skip to content
This repository has been archived by the owner on Dec 7, 2018. It is now read-only.

Raise ECONNRESET if socket#gets returns nil #5

Merged
merged 4 commits into from
Mar 31, 2013

Conversation

simonrobson
Copy link
Contributor

Follows ruby driver approach. Fixes #4

Follows ruby driver approach. Fix for celluloid#4
@coveralls
Copy link

Coverage increased (+0.64%) when pulling 5edac62 on simonrobson:read_should_raise_on_eof into cd952a1 on celluloid:master.

View Details

Infrastructure for testing against a new redis instance.
@coveralls
Copy link

Coverage increased (+8.61%) when pulling ddb853a on simonrobson:read_should_raise_on_eof into cd952a1 on celluloid:master.

View Details

@tarcieri
Copy link
Member

You almost had it ;) Looks like ddb853a breaks the build on JRuby

@coveralls
Copy link

Coverage remained the same when pulling 6b57abf on simonrobson:read_should_raise_on_eof into cd952a1 on celluloid:master.

View Details

@simonrobson
Copy link
Contributor Author

Latest commit fixes that on jruby 1.7.3.

The problem was in the test helper which spawns a new instance of redis to test against. Which introduced its own timing issues. Think the latest version is more solid. Though not yet sure if this is the best way to test things like shutdown.

tarcieri added a commit that referenced this pull request Mar 31, 2013
Raise ECONNRESET if socket#gets returns nil
@tarcieri tarcieri merged commit b5ff966 into celluloid:master Mar 31, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoMethodError: undefined method `slice!' for nil:NilClass
3 participants