CqlProtocolHandler initialization warning

16 views
Skip to first unread message

farn...@extendi.it

unread,
Apr 19, 2018, 3:59:57 AM4/19/18
to DataStax Ruby Driver for Apache Cassandra User Mailing List
Hi,

I use the ruby-driver and I get a warning in the CqlProtocolHandler
 
ruby-driver/lib/cassandra/protocol/cql_protocol_handler.rb:293: warning: instance variable @timer not initialized

With this warning the tests with travis goes in timeout.

Can you initialize it in the initializer of the class?

forking the gem and adding everything goes smooth.

Thanks,
Baldarn

Sandeep Tamhankar

unread,
Apr 27, 2018, 6:41:04 PM4/27/18
to DataStax Ruby Driver for Apache Cassandra User Mailing List
Hey, sorry for the late response.

Which version of Ruby are you using? I noticed that the last Travis build was actually green: https://travis-ci.org/datastax/ruby-driver/jobs/344027374 Are you running Ruby driver tests in your own Travis project?

We aren't planning to release a new version of the driver anytime soon, but it would be great if you could submit a PR with your fix.

-Sandeep

farn...@extendi.it

unread,
Apr 30, 2018, 2:38:39 AM4/30/18
to DataStax Ruby Driver for Apache Cassandra User Mailing List
ok, I added the line and opened a pull request.

Reply all
Reply to author
Forward
0 new messages