Skip to content

Commit 2600377

Browse files
upgrading testing to use bin/test.py, which will let me do some beautiful magic
1 parent 8df170e commit 2600377

3 files changed

Lines changed: 6 additions & 7 deletions

File tree

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ dist
77
build
88
eggs
99
parts
10-
bin
1110
var
1211
sdist
1312
develop-eggs

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
language: python
22

33
env:
4-
- C_VERSION=12
5-
- C_VERSION=20
4+
- CASSANDRA_VERSION=12
5+
- CASSANDRA_VERSION=20
66

77
python:
88
- "2.7"
99
- "3.4"
1010

1111
before_install:
12-
- sudo echo "deb http://www.apache.org/dist/cassandra/debian ${C_VERSION}x main" | sudo tee -a /etc/apt/sources.list
13-
- sudo echo "deb-src http://www.apache.org/dist/cassandra/debian ${C_VERSION}x main" | sudo tee -a /etc/apt/sources.list
12+
- sudo echo "deb http://www.apache.org/dist/cassandra/debian ${CASSANDRA_VERSION}x main" | sudo tee -a /etc/apt/sources.list
13+
- sudo echo "deb-src http://www.apache.org/dist/cassandra/debian ${CASSANDRA_VERSION}x main" | sudo tee -a /etc/apt/sources.list
1414
- sudo gpg --keyserver pgp.mit.edu --recv-keys F758CE318D77295D
1515
- sudo gpg --export --armor F758CE318D77295D | sudo apt-key add -
1616
- sudo gpg --keyserver pgp.mit.edu --recv-keys 2B5C1B00
@@ -25,4 +25,4 @@ install:
2525
- "pip install -r requirements.txt --use-mirrors"
2626

2727
script:
28-
- "nosetests --no-skip"
28+
- "bin/test.py --no-skip"

cqlengine/tests/management/test_management.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class ModelWithTableProperties(Model):
124124
__default_time_to_live__ = 4756
125125
__gc_grace_seconds__ = 2063
126126
__index_interval__ = 98706
127-
__memtable_flush_period_in_ms__ = 43681
127+
#__memtable_flush_period_in_ms__ = 43681 # not compatible w/ cassandra 1.2
128128
__populate_io_cache_on_flush__ = True
129129
__read_repair_chance__ = 0.17985
130130
__replicate_on_write__ = False

0 commit comments

Comments
 (0)