Running tests with rails + neo4j fails with Faraday error

neo4j
circle.yml

#1

Here is my circle.yml

  override:
    - bundle install
database:
  override:
    - bundle exec rake neo4j:install[community-latest,test]
    - bundle exec rake neo4j:config[test,7475]
    - bundle exec rake neo4j:start[test]

When rake test is run I get the following error:

Faraday::ConnectionFailed: Couldn't connect to server
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/adapters/faraday.rb:106:in `block in request'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/request/callbacks.rb:128:in `call'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/request/callbacks.rb:128:in `block in execute_callbacks'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/request/callbacks.rb:127:in `each'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/request/callbacks.rb:127:in `execute_callbacks'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/request/operations.rb:35:in `finish'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/typhoeus-1.3.0/lib/typhoeus/easy_factory.rb:159:in `block in set_callback'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `call'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `block in complete'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `each'
/opt/circleci/.rvm/gems/ruby-2.2.6/gems/ethon-0.10.1/lib/ethon/easy/response_callbacks.rb:68:in `complete'

#2

Is neo4j running when the tests start? If not, could you turn it on? If so, could you grab the logs from neo4j to see if there is anything helpful in there?


#3