diff --git a/.circleci/config.yml b/.circleci/config.yml index 6eb4605..4c70501 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -22,7 +22,7 @@ jobs: - ~/.m2 key: m2-{{ checksum "pom.xml" }} - - run: ./conf/setup.sh && mvn clean install + - run: ./conf/setup.sh && mvn clean install && (cd test && ./run-tests.sh) - persist_to_workspace: root: ~/cassandra-everywhere-strategy diff --git a/cassandra-3.0/pom.xml b/cassandra-3.0/pom.xml index e04313f..b63a885 100644 --- a/cassandra-3.0/pom.xml +++ b/cassandra-3.0/pom.xml @@ -20,7 +20,7 @@ org.apache.cassandra cassandra-all - 3.0.22 + 3.0.24 provided diff --git a/test/run-tests.sh b/test/run-tests.sh new file mode 100755 index 0000000..a8397c7 --- /dev/null +++ b/test/run-tests.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +ip link add name loop1 type dummy +ip link set loop1 up +ip addr add 127.0.0.2/8 dev loop1 + +# ssltabledump not available on 2.2.x +#python3 ccm-test.py -j ../cassandra-2.2/target/everywhere-strategy-cassandra-2.2-1.0.0.jar 2.2.18 +# circleci machine is running with Java 11 and 3.0 nor 3.11 is not compatible with that +#python3 ccm-test.py -j ../cassandra-3.0/target/everywhere-strategy-cassandra-3.0-1.0.0.jar 3.0.24 +#python3 ccm-test.py -j ../cassandra-3.11/target/everywhere-strategy-cassandra-3.11-1.0.0.jar 3.11.10 +python3 ccm-test.py -j ../cassandra-4/target/everywhere-strategy-cassandra-4.0-1.0.0.jar 4.0.0 \ No newline at end of file