Skip to content

Commit

Permalink
added test script
Browse files Browse the repository at this point in the history
  • Loading branch information
smiklosovic committed Jul 27, 2021
1 parent 9f3e224 commit a1c83cc
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cassandra-3.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<dependency>
<groupId>org.apache.cassandra</groupId>
<artifactId>cassandra-all</artifactId>
<version>3.0.22</version>
<version>3.0.24</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
12 changes: 12 additions & 0 deletions test/run-tests.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a1c83cc

Please sign in to comment.