test/support/connect.rb in gotime-cassandra_object-4.4.3 vs test/support/connect.rb in gotime-cassandra_object-4.4.4

- old
+ new

@@ -1,12 +1,15 @@ CassandraObject::Base.establish_connection( keyspace: 'cassandra_object_test', - servers: '127.0.0.1:9160' + servers: '127.0.0.1:9160', + thrift: {timeout: 200} ) begin CassandraObject::Schema.drop_keyspace 'cassandra_object_test' rescue Exception => e end +sleep 1 CassandraObject::Schema.create_keyspace 'cassandra_object_test' -CassandraObject::Schema.create_column_family 'Issues' +CassandraObject::Schema.create_column_family 'Issues' +CassandraObject::Base.default_consistency = 'QUORUM' \ No newline at end of file