Sha256: b8ba43bb91cab108a800bb07dc3bd3ea4587658f4b7c06cb728f223e3fb39bce

Contents?: true

Size: 442 Bytes

Versions: 9

Compression:

Stored size: 442 Bytes

Contents

require 'test/unit'
require "#{File.expand_path(File.dirname(__FILE__))}/../lib/cassandra"
begin; require 'ruby-debug'; rescue LoadError; end

begin
  @test_client = Cassandra.new('Twitter', '127.0.0.1')
rescue Thrift::TransportException => e
  #FIXME Make server automatically start if not running
  if e.message =~ /Could not connect/
    puts "*** Please start the Cassandra server by running 'rake cassandra'. ***" 
    exit 1
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cassandra-0.5.6.2 test/test_helper.rb
cassandra-0.5.6.1 test/test_helper.rb
cassandra-0.5.6 test/test_helper.rb
cassandra-0.5.5 test/test_helper.rb
cassandra-0.5.3 test/test_helper.rb
cassandra-0.5.4 test/test_helper.rb
cassandra-0.5 test/test_helper.rb
cassandra-0.5.1 test/test_helper.rb
cassandra-0.5.2 test/test_helper.rb