Repo: GitHub.com/filodb/FiloDB
Error:
[info] Exception encountered when attempting to run a suite with class name: org.scalatest.DeferredAbortedSuite *** ABORTED ***
3795[info] com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (tried: localhost/127.0.0.1:9042 (com.datastax.driver.core.exceptions.TransportException: [localhost/127.0.0.1:9042] Cannot connect))
3796[info] at com.datastax.driver.core.ControlConnection.reconnectInternal(ControlConnection.java:268)
3797
This started happening this week.
Our .travis.yml
where we have Cassandra as a service listed:
language: scala
env:
global:
_JAVA_OPTIONS="-Dakka.test.timefactor=3 -XX:MaxMetaspaceSize=256m"
scala:
- 2.11.12
jdk:
- openjdk11
# These directories are cached to S3 at the end of the build
cache:
directories:
- $HOME/.ivy2/cache
- $HOME/.sbt/boot/
before_cache:
# Tricks to avoid unnecessary cache updates
- find $HOME/.sbt -name "*.lock" | xargs rm
- find $HOME/.ivy2 -name "ivydata-*.properties" | xargs rm
services:
- cassandra
sudo: required