Skip to content

Instantly share code, notes, and snippets.

@rwjblue
Created May 24, 2011 00:52
Show Gist options
  • Save rwjblue/987949 to your computer and use it in GitHub Desktop.
Save rwjblue/987949 to your computer and use it in GitHub Desktop.
Thrift-0.6.0 Inconsistent Errors in fauna/cassandra tests
➜ cassandra git:(master) ✗ ruby test/cassandra_test.rb -n test_remove_super_sub_key
Loaded suite test/cassandra_test
Started
.
Finished in 0.212645 seconds.
1 tests, 1 assertions, 0 failures, 0 errors
➜ cassandra git:(master) ✗ ruby test/cassandra_test.rb -n test_remove_super_sub_key
Loaded suite test/cassandra_test
Started
E
Finished in 0.17008099999999998 seconds.
1) Error:
test_remove_super_sub_key(CassandraTest):
CassandraThrift::Cassandra::Client::TransportException:
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/transport/socket.rb:109:in `read'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/transport/base_transport.rb:52:in `read_all'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/transport/framed_transport.rb:78:in `read_frame'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/transport/framed_transport.rb:49:in `read'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/transport/base_transport.rb:52:in `read_all'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/protocol/binary_protocol.rb:186:in `read_i32'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/protocol/binary_protocol.rb:111:in `read_message_begin'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift-0.6.0/lib/thrift/client.rb:45:in `receive_message'
/Users/rjackson/Source/ruby/cassandra/lib/../vendor/0.7/gen-rb/cassandra.rb:234:in `recv_truncate'
/Users/rjackson/Source/ruby/cassandra/lib/../vendor/0.7/gen-rb/cassandra.rb:226:in `truncate'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift_client-0.6.2/lib/thrift_client/abstract_thrift_client.rb:116:in `handled_proxy'
/Users/rjackson/.rvm/gems/rbx-head@cassandra/gems/thrift_client-0.6.2/lib/thrift_client/abstract_thrift_client.rb:58:in `truncate'
/Users/rjackson/Source/ruby/cassandra/lib/cassandra/0.7/cassandra.rb:60:in `truncate!'
/Users/rjackson/Source/ruby/cassandra/lib/cassandra/0.7/cassandra.rb:66:in `clear_keyspace!'
kernel/bootstrap/array.rb:76:in `each'
/Users/rjackson/Source/ruby/cassandra/lib/cassandra/0.7/cassandra.rb:66:in `clear_keyspace!'
test/cassandra_test.rb:8:in `setup'
kernel/bootstrap/array.rb:76:in `each'
kernel/bootstrap/array.rb:76:in `each'
1 tests, 0 assertions, 0 failures, 1 errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment