~jjo/charms/precise/cassandra/merge-reworked-leader-election

« back to all changes in this revision

Viewing changes to tests/Makefile

  • Committer: David Ames
  • Date: 2013-10-24 22:00:11 UTC
  • mfrom: (28.1.1 cassandra-store-jjo)
  • Revision ID: david.ames@canonical.com-20131024220011-iycrvsj97s1tkne9
[jjo, r=dames] merge Canonical IS cassandra charm fixes and features:
- [jjo,r=dames] Allow partial config-change by implementing units-to-update
- [jjo,r=dames] Implement simpleauth (base64 encoded passwd and auth file contents), and extra-jvm-opts
- [dames,r=mthaddon] Handle end point snitch, num_tokens/intial_toekn and partitioner
- [ev,r=dames,r=gnouy] Don't restart Cassandra when config-changed fires unless we've committed some /etc/cassandra

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Usage e.g.:
 
2
#   make -j5                       ## Fast(er)
 
3
#   make -j5 TESTS=test_simpleauth ## Single test accross versions
 
4
#   make test-0.7                  ## It fails (missing seeds feature)
 
5
TESTS=all
 
6
 
 
7
all: test
 
8
 
 
9
test: test-1.0 test-1.1 test-1.2 test-2.0
 
10
 
 
11
test-%: cassandra-%/conf
 
12
        ./test-cassandra-conf.sh test $* $(TESTS)
 
13
 
 
14
cassandra-%/conf:
 
15
        install -d $@
 
16
        wget -qO $@/cassandra-env.sh https://raw.github.com/apache/cassandra/$@/cassandra-env.sh && \
 
17
        wget -qO $@/cassandra.yaml https://raw.github.com/apache/cassandra/$@/cassandra.yaml || rm -rf $@
 
18
 
 
19
clean:
 
20
        ./test-cassandra-conf.sh clean
 
21
        rm -rf cassandra-[0-9].*
 
22
 
 
23
.PHONY: all test clean
 
24
 
 
25
.PRECIOUS: cassandra-%/conf