Sha256: d1342d82f83156d7530e6929440d9ed051e0484142cc595a6785cd11e67e3ca0

Contents?: true

Size: 584 Bytes

Versions: 16

Compression:

Stored size: 584 Bytes

Contents

CASSANDRA_VERSION = ENV['CASSANDRA_VERSION'] || '0.8' unless defined?(CASSANDRA_VERSION)

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

begin
  @test_client = Cassandra.new('Twitter', 'localhost:9160', {:exception_classes => []})
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

16 entries across 16 versions & 4 rubygems

Version Path
cassandra-0.17.0 test/test_helper.rb
cassandra-0.16.0 test/test_helper.rb
cassandra-0.15.0 test/test_helper.rb
cassandra-0.14.0 test/test_helper.rb
cassandra-0.13.0 test/test_helper.rb
hallelujah-cassandra-0.12.3 test/test_helper.rb
mcmire-cassandra-0.12.3 test/test_helper.rb
mcmire-cassandra-0.12.2 test/test_helper.rb
cassilds-0.12.6 test/test_helper.rb
cassilds-0.12.5 test/test_helper.rb
cassilds-0.12.4 test/test_helper.rb
cassilds-0.12.3 test/test_helper.rb
cassilds-0.12.2 test/test_helper.rb
cassilds-0.12.1 test/test_helper.rb
cassandra-0.12.1 test/test_helper.rb
cassandra-0.12.0 test/test_helper.rb