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

warnings when running Rails test suite (instance variable not initialized) #49

Open
bronson opened this issue Feb 7, 2016 · 1 comment

Comments

@bronson
Copy link

bronson commented Feb 7, 2016

Seeing a lot of these when running the Rails 5 beta 2 tests:

/Users/bronson/.gem/ruby/2.2.2/gems/em-hiredis-0.3.1/lib/em-hiredis/base_client.rb:231: warning: instance variable @inactivity_timer not initialized
/Users/bronson/.gem/ruby/2.2.2/gems/em-hiredis-0.3.1/lib/em-hiredis/base_client.rb:236: warning: instance variable @inactivity_trigger_secs not initialized

Easy workaround appears to be to put @inactivity_timer = @inactivity_trigger_secs = nil in BaseClient's initializer. Can submit a PR for that if you want.

@bronson
Copy link
Author

bronson commented Feb 7, 2016

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

1 participant